From f9e1b4a1ebdbc406698078c000c945c0ac3fa242 Mon Sep 17 00:00:00 2001 From: bug_creator Date: Wed, 1 Dec 2021 18:53:47 +0800 Subject: [PATCH] change text --- app/main/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/main/views.py b/app/main/views.py index 3933b26..6dbd5e2 100644 --- a/app/main/views.py +++ b/app/main/views.py @@ -956,9 +956,9 @@ def edit_question_md(question_id): db.session.add(question) db.session.commit() if question.is_anonymous: - flash("You have just posted a posting anonymously", 'success') + flash("You have just modified a question anonymously", 'success') else: - flash("You have just posted a posting", 'success') + flash("You have just modified a question", 'success') return redirect(url_for('.index')) return render_template('new_posting/new_mdquestion.html', form=form, default_title=question.title, default_body=question.body) @@ -989,9 +989,9 @@ def new_answer_md(question_id): db.session.add(post) db.session.commit() if post.is_anonymous: - flash("You have just posted a posting anonymously", 'success') + flash("You have just modified an answer anonymously", 'success') else: - flash("You have just posted a posting", 'success') + flash("You have just modified an answer", 'success') return redirect(url_for('.view_question', question_id=question_id)) return render_template('new_posting/new_mdanswer.html', form=form, default_body="")