diff --git a/files/routes/posts.py b/files/routes/posts.py index fac26e13f..56f111e9f 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1206,14 +1206,15 @@ def submit_post(v, sub=None): for x in notify_users: add_notif(cid, x) - text = f"@{v.username} has made a new post: [{post.title}]({post.shortlink})" - if post.sub: text += f" in /s/{post.sub}" + if request.values.get('followers'): + text = f"@{v.username} has made a new post: [{post.title}]({post.shortlink})" + if post.sub: text += f" in /s/{post.sub}" - cid = notif_comment(text, autojanny=True) - for follow in v.followers: - user = get_account(follow.user_id) - if post.club and not user.paid_dues: continue - add_notif(cid, user.id) + cid = notif_comment(text, autojanny=True) + for follow in v.followers: + user = get_account(follow.user_id) + if post.club and not user.paid_dues: continue + add_notif(cid, user.id) diff --git a/files/templates/submission.html b/files/templates/submission.html index dfa286ec8..98cbffdfc 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -744,7 +744,7 @@ {% if p.edited_utc %}   Edited {{p.edited_string}} {% endif %} -   {{p.views}} views +   {{p.views}} reads {% if p.active_flags %}
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index c1459ebb8..49574457a 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -208,7 +208,7 @@ {% if p.edited_utc %}   Edited {{p.edited_string}} {% endif %} -   {{p.views}} views +   {{p.views}} reads
diff --git a/files/templates/submit.html b/files/templates/submit.html index d3445fb77..2216fda09 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -161,27 +161,32 @@

 
 												
- - + + +
+ +
+ +
- - + +
{% if v.club_allowed != False %}
- - + +
{% endif %}
- + {% if ghost == 42069 %} - + {% else %} - + {% endif %}