From b1cdddd1a234ac4c9240a579e3165eaa4d63bf77 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 14 Jan 2021 14:13:23 -0800 Subject: [PATCH] Adds titles to icons --- bookwyrm/templates/author.html | 2 +- bookwyrm/templates/book.html | 2 +- bookwyrm/templates/edit_author.html | 19 +++++-------------- bookwyrm/templates/edit_book.html | 19 +++++-------------- bookwyrm/templates/layout.html | 6 +++--- bookwyrm/templates/snippets/boost_button.html | 4 ++-- bookwyrm/templates/snippets/fav_button.html | 4 ++-- .../templates/snippets/privacy-icons.html | 8 ++++---- bookwyrm/templates/snippets/status_body.html | 6 +++--- .../snippets/toggle/toggle_button.html | 2 +- bookwyrm/templates/user.html | 2 +- 11 files changed, 28 insertions(+), 46 deletions(-) diff --git a/bookwyrm/templates/author.html b/bookwyrm/templates/author.html index 4235b266..a875ad78 100644 --- a/bookwyrm/templates/author.html +++ b/bookwyrm/templates/author.html @@ -9,7 +9,7 @@ {% if request.user.is_authenticated and perms.bookwyrm.edit_book %}
- + Edit Author diff --git a/bookwyrm/templates/book.html b/bookwyrm/templates/book.html index 240bef17..c54255fe 100644 --- a/bookwyrm/templates/book.html +++ b/bookwyrm/templates/book.html @@ -23,7 +23,7 @@ {% if request.user.is_authenticated and perms.bookwyrm.edit_book %}
- + Edit Book diff --git a/bookwyrm/templates/edit_author.html b/bookwyrm/templates/edit_author.html index b08aa983..26953af0 100644 --- a/bookwyrm/templates/edit_author.html +++ b/bookwyrm/templates/edit_author.html @@ -1,25 +1,16 @@ {% extends 'layout.html' %} {% load humanize %} {% block content %} -
-
-

- Edit "{{ author.name }}" -

- -
+
+

+ Edit "{{ author.name }}" +

Added: {{ author.created_date | naturaltime }}

Updated: {{ author.updated_date | naturaltime }}

Last edited by: {{ author.last_edited_by.display_name }}

-
+ {% if form.non_field_errors %}
diff --git a/bookwyrm/templates/edit_book.html b/bookwyrm/templates/edit_book.html index b0e262dd..7bc6e112 100644 --- a/bookwyrm/templates/edit_book.html +++ b/bookwyrm/templates/edit_book.html @@ -1,25 +1,16 @@ {% extends 'layout.html' %} {% load humanize %} {% block content %} -
-
-

- Edit "{{ book.title }}" -

- -
+
+

+ Edit "{{ book.title }}" +

Added: {{ book.created_date | naturaltime }}

Updated: {{ book.updated_date | naturaltime }}

Last edited by: {{ book.last_edited_by.display_name }}

-
+ {% if form.non_field_errors %}
diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index f2db8521..e625343b 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -33,7 +33,7 @@
@@ -43,7 +43,7 @@