From 3d63509e20c89ac18cd603b54077708b2a8bb8d8 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 18 Jan 2022 12:07:46 -0800 Subject: [PATCH] Updates snippets that use rating tags --- bookwyrm/templates/discover/large-book.html | 2 +- bookwyrm/templates/landing/large-book.html | 2 +- bookwyrm/templates/landing/small-book.html | 2 +- bookwyrm/templates/lists/embed-list.html | 2 +- bookwyrm/templates/lists/list.html | 2 +- bookwyrm/templates/snippets/rate_action.html | 3 ++- bookwyrm/templates/snippets/status/content_status.html | 1 + 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/bookwyrm/templates/discover/large-book.html b/bookwyrm/templates/discover/large-book.html index 1fa0afb9..a6ff0aca 100644 --- a/bookwyrm/templates/discover/large-book.html +++ b/bookwyrm/templates/discover/large-book.html @@ -1,4 +1,4 @@ -{% load bookwyrm_tags %} +{% load rating_tags %} {% load i18n %} {% load utilities %} {% load status_display %} diff --git a/bookwyrm/templates/landing/large-book.html b/bookwyrm/templates/landing/large-book.html index 03ec718b..6a27a4a3 100644 --- a/bookwyrm/templates/landing/large-book.html +++ b/bookwyrm/templates/landing/large-book.html @@ -1,4 +1,4 @@ -{% load bookwyrm_tags %} +{% load rating_tags %} {% load markdown %} {% load i18n %} diff --git a/bookwyrm/templates/landing/small-book.html b/bookwyrm/templates/landing/small-book.html index 813fb797..31b09580 100644 --- a/bookwyrm/templates/landing/small-book.html +++ b/bookwyrm/templates/landing/small-book.html @@ -1,4 +1,4 @@ -{% load bookwyrm_tags %} +{% load rating_tags %} {% load i18n %} {% if book %} diff --git a/bookwyrm/templates/lists/embed-list.html b/bookwyrm/templates/lists/embed-list.html index 54dc80ab..9c07291c 100644 --- a/bookwyrm/templates/lists/embed-list.html +++ b/bookwyrm/templates/lists/embed-list.html @@ -1,6 +1,6 @@ {% extends 'embed-layout.html' %} {% load i18n %} -{% load bookwyrm_tags %} +{% load rating_tags %} {% load bookwyrm_group_tags %} {% load markdown %} diff --git a/bookwyrm/templates/lists/list.html b/bookwyrm/templates/lists/list.html index 880413cd..eb351df3 100644 --- a/bookwyrm/templates/lists/list.html +++ b/bookwyrm/templates/lists/list.html @@ -1,6 +1,6 @@ {% extends 'lists/layout.html' %} {% load i18n %} -{% load bookwyrm_tags %} +{% load rating_tags %} {% load bookwyrm_group_tags %} {% load markdown %} diff --git a/bookwyrm/templates/snippets/rate_action.html b/bookwyrm/templates/snippets/rate_action.html index 767039a3..6ecbceff 100644 --- a/bookwyrm/templates/snippets/rate_action.html +++ b/bookwyrm/templates/snippets/rate_action.html @@ -1,5 +1,6 @@ {% load i18n %} -{% load bookwyrm_tags %} +{% load rating_tags %} + {% if request.user.is_authenticated %} {% trans "Leave a rating" %}
diff --git a/bookwyrm/templates/snippets/status/content_status.html b/bookwyrm/templates/snippets/status/content_status.html index 01734cc7..6d9b9263 100644 --- a/bookwyrm/templates/snippets/status/content_status.html +++ b/bookwyrm/templates/snippets/status/content_status.html @@ -1,4 +1,5 @@ {% load bookwyrm_tags %} +{% load rating_tags %} {% load markdown %} {% load i18n %} {% load static %}