diff --git a/files/templates/comments.html b/files/templates/comments.html index 849ab8c51..655457c89 100755 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -275,7 +275,7 @@ {% if c.distinguish_level %}{% endif %} {% if c.is_op %}{% endif %} {% if c.is_bot %}{% endif %} - {% if c.is_blocking %}{% endif %} + {% if c.is_blocking %}{% endif %} {% if c.is_blocked %}{% endif %} {% if c.author.verified %} @@ -437,9 +437,12 @@ Distinguish {% endif %} - {% if v and not v.id==c.author_id and v.admin_level == 0 %} - Unblock user - Block user + {% if v and not v.id==c.author_id%} + Unblock user + + Are you sure? + + Block user {% endif %} {% if v and c.post and (v.admin_level >= 1 or v.id == c.post.author_id) and c.level == 1 %} @@ -609,9 +612,12 @@ API App {% endif %} - {% if not v.id==c.author_id and v.admin_level == 0 %} - Block user - Unblock user + {% if not v.id==c.author_id %} + Unblock user + + Are you sure? + + Block user {% endif %} {% endif %} diff --git a/files/templates/submission.html b/files/templates/submission.html index a21c641b3..af0c9c0ef 100755 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -362,9 +362,12 @@ {% endif %} - {% if v and v.id != p.author_id and v.admin_level == 0 %} - - + {% if v and v.id != p.author_id %} + + + + + {% endif %} {% if v and (v.id==p.author_id or v.admin_level>=3) %} @@ -642,9 +645,12 @@ API App {% endif %} - {% if not v.id==p.author_id and v.admin_level == 0 %} - Block user - Unblock user + {% if not v.id==p.author_id %} + Unblock user + + Are you sure? + + Block user {% endif %} {% if not v.id==p.author_id and v.admin_level == 1 %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 93678fae5..90f180040 100755 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -199,7 +199,7 @@ {% if p.is_pinned and request.path.startswith('/@') %}{% endif %} {% if p.over_18 %}+18{% endif %} {% if p.is_bot %} {% endif %} - {% if p.is_blocking %}{% endif %} + {% if p.is_blocking %}{% endif %} {% if p.is_blocked %}{% endif %} {% if p.private %}Draft{% endif %} {% if p.active_flags %}{{p.active_flags}} Reports{% endif %} @@ -290,9 +290,12 @@ API App {% endif %} - {% if not v.id==p.author_id and not v.admin_level %} - Block user - Unblock user + {% if not v.id==p.author_id %} + Unblock user + + Are you sure? + + Block user {% endif %} {% if v and (v.id==p.author_id or v.admin_level>=3) %} @@ -451,9 +454,12 @@ {% endif %} - {% if v and v.id != p.author_id and not v.admin_level %} - - + {% if v and v.id != p.author_id %} + + + + + {% endif %} {% if v and (v.id==p.author_id or v.admin_level>=3) %}