diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 048c70fd5..bf897986a 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -251,23 +251,9 @@ {% endif %} {% endif %} - - {% else %} - -{% if request.path.endswith('/admin/queue') %} - -
-
-
-

This queue is empty. (That's a good thing.)

-
-
-
- - -{% elif u %} +{% if u %} {% if v and v.id == u.id %}
@@ -282,8 +268,6 @@
- - {% else %}
@@ -302,7 +286,7 @@ {% elif request.path != '/notifications/posts' %}
- {% if request.path.startswith('/search') and error %}{{macros.ghost_box(error, '', 1)}}{% endif %} + {{macros.ghost_box(error if request.path.startswith('/search') else '', '', 1)}}{% endif %}
diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html index b080fef01..f509d298a 100644 --- a/files/templates/util/macros.html +++ b/files/templates/util/macros.html @@ -162,7 +162,7 @@ {% macro ghost_box(text1, text2, mode, extra_css) %} {# TODO: use in saved (search for "fa-ghost" in source) #} {% if mode == 1 %} -
+
@@ -173,15 +173,10 @@ {% endif %} {% if text2 %}

{{text2|safe}}

- {% if v %} -

This comment section is a ghost town...

- {% else %} -

This comment section is a ghost town. Sign in

- {% endif %} {% endif %}
{% elif mode == 2 %} -
+

{{text1|safe}}