Use smaller templatetag modules

This commit is contained in:
Mouse Reeve
2021-05-11 14:41:28 -07:00
parent eba6159f68
commit 58da17d694
17 changed files with 69 additions and 50 deletions

View File

@ -1,4 +1,5 @@
{% load bookwyrm_tags %}
{% load utilities %}
{% if request.user.is_authenticated %}
{% with book.id|uuid as uuid %}

View File

@ -1,5 +1,7 @@
{% load bookwyrm_tags %}
{% load utilities %}
{% load i18n %}
{% for shelf in shelves %}
{% comparison_bool shelf.identifier active_shelf.shelf.identifier as is_current %}
{% if dropdown %}<li role="menuitem" class="dropdown-item p-0">{% endif %}