diff --git a/bookwyrm/templates/discover/discover.html b/bookwyrm/templates/discover/discover.html index 01ef21869..f55f81a09 100644 --- a/bookwyrm/templates/discover/discover.html +++ b/bookwyrm/templates/discover/discover.html @@ -15,14 +15,15 @@

+ {% with tile_classes="tile is-child box has-background-white-ter is-clipped" %}
-
+
{% include 'discover/large-book.html' with status=large_activities.0 %}
-
+
{% include 'discover/large-book.html' with status=large_activities.1 %}
@@ -31,18 +32,18 @@
-
+
{% include 'discover/large-book.html' with status=large_activities.2 %}
-
+
{% include 'discover/small-book.html' with status=small_activities.0 %}
-
+
{% include 'discover/small-book.html' with status=small_activities.1 %}
@@ -51,18 +52,18 @@
-
+
{% include 'discover/small-book.html' with status=small_activities.2 %}
-
+
{% include 'discover/small-book.html' with status=small_activities.3 %}
-
+
{% include 'discover/large-book.html' with status=large_activities.3 %}
@@ -71,16 +72,17 @@
-
+
{% include 'discover/large-book.html' with status=large_activities.4 %}
-
+
{% include 'discover/large-book.html' with status=large_activities.5 %}
+ {% endwith %}
diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index c00a0feec..9346207db 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -4,7 +4,7 @@ - {% block title %}BookWyrm{% endblock %} | {{ site.name }} + {% block title %}BookWyrm{% endblock %} - {{ site.name }} @@ -17,8 +17,8 @@ {% else %} {% endif %} - - + + diff --git a/bookwyrm/templates/snippets/status/content_status.html b/bookwyrm/templates/snippets/status/content_status.html index 788ea3950..e62a178f3 100644 --- a/bookwyrm/templates/snippets/status/content_status.html +++ b/bookwyrm/templates/snippets/status/content_status.html @@ -67,12 +67,18 @@ {% endif %} {% if status.content_warning %} -
-

{{ status.content_warning }}

+
+

+ {% trans "Content warning" as text %} + + {{ text }} + + {{ status.content_warning }} +

- {% trans "Show more" as button_text %} + {% trans "Show status" as button_text %} - {% with text=button_text class="is-small" controls_text="show_status_cw" controls_uid=status.id %} + {% with text=button_text class="is-small is-pulled-right" icon_with_text="arrow-down" controls_text="show_status_cw" controls_uid=status.id %} {% include 'snippets/toggle/open_button.html' %} {% endwith %}
@@ -84,14 +90,6 @@ class="is-hidden" {% endif %} > - {% if status.content_warning %} - {% trans "Show less" as button_text %} - - {% with text=button_text class="is-small" controls_text="show_status_cw" controls_uid=status.id %} - {% include 'snippets/toggle/close_button.html' %} - {% endwith %} - {% endif %} - {% if status.quote %}
{{ status.quote|safe }}
@@ -141,6 +139,14 @@
{% endif %} + + {% if status.content_warning %} + {% trans "Hide status" as button_text %} + + {% with text=button_text class="is-small" controls_text="show_status_cw" controls_uid=status.id icon_with_text="arrow-up" %} + {% include 'snippets/toggle/close_button.html' %} + {% endwith %} + {% endif %}