mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
add a message after posting so dummies stop doing it 3 times
This commit is contained in:
parent
00abdd5fd0
commit
7527bbfc2b
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ def create():
|
||||||
post.save_thumbnail()
|
post.save_thumbnail()
|
||||||
url = url_for('post.read', id=post.id, _external=True)
|
url = url_for('post.read', id=post.id, _external=True)
|
||||||
post_webhook(f"New post :doge2: [{post.id}]({url}) by `{submitter}` :neckbeard:")
|
post_webhook(f"New post :doge2: [{post.id}]({url}) by `{submitter}` :neckbeard:")
|
||||||
return redirect(url)
|
flash("New post created and pending approval!")
|
||||||
|
return redirect(url_for("index"))
|
||||||
return render_template("post/create.html")
|
return render_template("post/create.html")
|
||||||
|
|
||||||
@bp.route("/post/<id>/approve")
|
@bp.route("/post/<id>/approve")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue