mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 19:19:59 +00:00
added success message after torrent edit
This commit is contained in:
parent
f5551dd1e5
commit
5a1e44faff
|
@ -536,6 +536,9 @@ def edit_torrent(torrent_id):
|
||||||
|
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
|
flask.flash(flask.Markup(
|
||||||
|
'Torrent has been successfully edited! Changes might take a few minutes to show up.'), 'info')
|
||||||
|
|
||||||
return flask.redirect('/view/' + str(torrent_id))
|
return flask.redirect('/view/' + str(torrent_id))
|
||||||
else:
|
else:
|
||||||
# Setup form with pre-formatted form.
|
# Setup form with pre-formatted form.
|
||||||
|
|
Loading…
Reference in a new issue