From 5cd5a6107fa8df5c52823180db5fac3aadadfc2b Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 18 May 2021 10:45:51 -0700 Subject: [PATCH] Show text with buttons in most places --- bookwyrm/templates/author/author.html | 5 +- bookwyrm/templates/book/book.html | 7 +- bookwyrm/templates/goal.html | 2 +- bookwyrm/templates/lists/list_layout.html | 2 +- bookwyrm/templates/lists/lists.html | 2 +- .../templates/settings/federated_server.html | 108 +++++++++--------- bookwyrm/templates/settings/federation.html | 5 +- .../snippets/create_status_form.html | 2 +- .../snippets/filters_panel/filters_panel.html | 4 +- bookwyrm/templates/user/lists.html | 2 +- bookwyrm/templates/user/shelf/shelf.html | 4 +- bookwyrm/templates/user/user.html | 10 +- 12 files changed, 77 insertions(+), 76 deletions(-) diff --git a/bookwyrm/templates/author/author.html b/bookwyrm/templates/author/author.html index 56e9ce548..67f8792c9 100644 --- a/bookwyrm/templates/author/author.html +++ b/bookwyrm/templates/author/author.html @@ -14,9 +14,8 @@ {% if request.user.is_authenticated and perms.bookwyrm.edit_book %}
- - {% trans "Edit Author" %} - + + {% trans "Edit Author" %}
{% endif %} diff --git a/bookwyrm/templates/book/book.html b/bookwyrm/templates/book/book.html index 0aa648360..a82c00f69 100644 --- a/bookwyrm/templates/book/book.html +++ b/bookwyrm/templates/book/book.html @@ -38,9 +38,8 @@ {% if user_authenticated and can_edit_book %}
- - {% trans "Edit Book" %} - + + {% trans "Edit Book" %}
{% endif %} @@ -163,7 +162,7 @@
{% trans "Add read dates" as button_text %} - {% include 'snippets/toggle/open_button.html' with text=button_text icon="plus" class="is-small" controls_text="add-readthrough" focus="add-readthrough-focus" %} + {% include 'snippets/toggle/open_button.html' with text=button_text icon_with_text="plus" class="is-small" controls_text="add-readthrough" focus="add-readthrough-focus" %}