From 4fc8520e24a2cd5dbe6a4359b8986d32e6c9ec4f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 24 Jun 2022 01:07:47 +0200 Subject: [PATCH] remove post_toast2() and post_toast3() and incorporate them into post_toast() --- files/templates/changelog.html | 6 +- files/templates/comments.html | 74 +++++++++---------- files/templates/default.html | 1 - files/templates/header.html | 4 +- files/templates/notifications.html | 2 +- files/templates/post_actions.html | 44 +++++------ files/templates/post_actions_mobile.html | 30 ++++---- .../templates/post_admin_actions_mobile.html | 22 +++--- files/templates/settings_apps.html | 2 +- files/templates/settings_profile.html | 6 +- files/templates/submission.html | 6 +- files/templates/user_listing.html | 4 +- files/templates/userpage.html | 36 ++++----- 13 files changed, 117 insertions(+), 120 deletions(-) diff --git a/files/templates/changelog.html b/files/templates/changelog.html index b6640a37e..705bd4271 100644 --- a/files/templates/changelog.html +++ b/files/templates/changelog.html @@ -67,8 +67,8 @@ {% block content %} {% if v %} - Subscribe - Unsubscribe + Subscribe + Unsubscribe {% endif %}
@@ -104,6 +104,4 @@ {% endif %} - - {% endblock %} \ No newline at end of file diff --git a/files/templates/comments.html b/files/templates/comments.html index 7ce526169..902ecf9fa 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -379,7 +379,7 @@ {% elif v %}
  • - + {{score}} @@ -421,7 +421,7 @@ {% endif %} {% elif v %} - + {% else %} @@ -458,16 +458,16 @@ - + - + {% endif %} {% if c.parent_submission %} {% if v and c.author_id == v.id %} - + {% elif v and c.body %} @@ -480,14 +480,14 @@
  • - Log out + Log out
    @@ -267,7 +267,7 @@ Contact us {% else %}
  • {% if v %} - + {% else %} diff --git a/files/templates/user_listing.html b/files/templates/user_listing.html index b38463693..9fb97a44c 100644 --- a/files/templates/user_listing.html +++ b/files/templates/user_listing.html @@ -13,9 +13,9 @@ {% if v %} {% if v.id!=u.id and not u.is_private and not u.is_nofollow %} - + - + {% endif %} {% else %} diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 1f2216afc..d0bc24f7c 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -176,9 +176,9 @@
    {% if v and v.id != u.id %}
    - Unfollow + Unfollow - Follow + Follow Message Get them help @@ -189,10 +189,10 @@ {% if v.admin_level > 2 %} {% if SITE != 'rdrama.net' %} - Make admin + Make admin {% endif %} - Remove admin + Remove admin {% if u.admin_level > 1 %} Revert admin actions @@ -290,13 +290,13 @@ - Disable Chud Theme + Disable Chud Theme
    
     
    -						Shadowban
    +						Shadowban
     
    -						Unshadowban
    +						Unshadowban
     
     
     						
    
    @@ -314,8 +314,8 @@
     							
     						
     						
    
    -						
    -						
    +						
    +						
     						{% endif %}
     					
    
     					
    @@ -492,9 +492,9 @@ {% endif %} {% if v and v.id != u.id %} - Unfollow + Unfollow - Follow + Follow Message Get them help Gift coins @@ -504,10 +504,10 @@ {% if v.admin_level > 2 %} {% if SITE != 'rdrama.net' %} - Make admin + Make admin {% endif %} - Remove admin + Remove admin {% if u.admin_level > 1 %} Revert admin actions @@ -548,8 +548,8 @@ {% if v.admin_level > 1 %} - - + +