From c6b18fae8118f6c4c36bab11ebab95ab3e15a3c8 Mon Sep 17 00:00:00 2001 From: Kostiantyn Stoliarskyi Date: Thu, 15 Jun 2023 15:28:54 +0300 Subject: [PATCH 1/2] small fixes --- app/templates/book/stat.html | 2 +- app/templates/notification.html | 2 +- app/templates/user/profile.html | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/templates/book/stat.html b/app/templates/book/stat.html index 855aa95..f1c8f6d 100644 --- a/app/templates/book/stat.html +++ b/app/templates/book/stat.html @@ -7,7 +7,7 @@ {% include 'book/modals/fork_book_modal.html' %} -
+

{{book.label}}

diff --git a/app/templates/notification.html b/app/templates/notification.html index 4541aec..e3ed9d3 100644 --- a/app/templates/notification.html +++ b/app/templates/notification.html @@ -3,7 +3,7 @@
- You haven't notifications! + You don't have notifications!
diff --git a/app/templates/user/profile.html b/app/templates/user/profile.html index d0512f8..fd837bb 100644 --- a/app/templates/user/profile.html +++ b/app/templates/user/profile.html @@ -81,7 +81,6 @@
- {% if interpretation.user_id != current_user.id %}
- {% endif %}
- {% endif %}
From 86dda54525b7ffc0d60154ddbaf157e1426e661e Mon Sep 17 00:00:00 2001 From: Kostiantyn Stoliarskyi Date: Thu, 15 Jun 2023 15:58:57 +0300 Subject: [PATCH 2/2] not found for home --- app/templates/home/explore_books.html | 7 ++++++- app/templates/home/index.html | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/app/templates/home/explore_books.html b/app/templates/home/explore_books.html index 26256ad..a9bae5a 100644 --- a/app/templates/home/explore_books.html +++ b/app/templates/home/explore_books.html @@ -43,7 +43,12 @@ id="explore-books" role="tabpanel" aria-labelledby="explore-books-tab"> - {% for book in books if not book.is_deleted %} + {% if not books.total %} + + {% endif %} {% for book in books if not book.is_deleted %}
{{book.label}}
diff --git a/app/templates/home/index.html b/app/templates/home/index.html index e3b8198..1e8bd5a 100644 --- a/app/templates/home/index.html +++ b/app/templates/home/index.html @@ -35,6 +35,12 @@