More templatetag files

This commit is contained in:
Mouse Reeve
2021-05-11 15:14:42 -07:00
parent 58da17d694
commit ac2b63d0cd
40 changed files with 107 additions and 92 deletions

View File

@ -1,5 +1,5 @@
{% extends 'user/layout.html' %}
{% load bookwyrm_tags %}
{% load utilities %}
{% load humanize %}
{% load i18n %}
@ -101,14 +101,14 @@
{% include 'snippets/authors.html' %}
</td>
<td data-title="{% trans "Shelved" %}">
{{ book.created_date | naturalday }}
{{ book.created_date|naturalday }}
</td>
{% latest_read_through book user as read_through %}
<td data-title="{% trans "Started" %}">
{{ read_through.start_date | naturalday |default_if_none:""}}
{{ read_through.start_date|naturalday|default_if_none:""}}
</td>
<td data-title="{% trans "Finished" %}">
{{ read_through.finish_date | naturalday |default_if_none:""}}
{{ read_through.finish_date|naturalday|default_if_none:""}}
</td>
{% if request.user.is_authenticated %}
<td data-title="{% trans "Rating" %}">