glados: updated announces

This commit is contained in:
Darks 2023-06-12 20:04:20 +02:00 committed by Eragon
parent 87090111ae
commit 333892aa54
Signed by: Eragon
GPG Key ID: 087126EBFC725006
2 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,6 @@ def program_view(page):
current_user.update_trophies('new-post')
flash('Message envoyé', 'ok')
app.v5logger.info(f"<{c.author.name}> has posted a the comment #{c.id}")
say(f"Nouveau commentaire de {author.name} sur le programme : {BOLD}{p.name}{BOLD}")
say(url_for('program_view', page=(p, "fin"), _anchor=str(c.id), _external=True))

View File

@ -59,6 +59,6 @@ def program_submit():
say(f"Nouveau programme de {current_user.name} : {BOLD}{p.name}{BOLD}")
say(url_for('program_view', page=(p, 1), _external=True))
return redirect(url_for('program_index'))
return redirect(url_for('program_view', page=(p, 1)))
return render('/programs/submit.html', form=form)