diff --git a/app/templates/book/favorite_books.html b/app/templates/book/favorite_books.html index c0efd9c..02001b1 100644 --- a/app/templates/book/favorite_books.html +++ b/app/templates/book/favorite_books.html @@ -13,7 +13,7 @@ {% endif %} - {% if current_user.is_authenticated and current_user.stars|length==0 %} + {% if current_user.is_authenticated and books.total<1 %}
You don't have favorite books start to explore book to choose one!
@@ -21,7 +21,7 @@ {% endif %}
- {% if current_user.is_authenticated and current_user.stars|length>0 %} + {% if current_user.is_authenticated and books.total>0 %}

Fav books

{% if current_user.is_authenticated %} diff --git a/app/templates/header.html b/app/templates/header.html index 9757f64..c52c5e2 100644 --- a/app/templates/header.html +++ b/app/templates/header.html @@ -110,10 +110,7 @@