Fixes display for goal statuses

This commit is contained in:
Mouse Reeve 2022-01-01 06:51:40 -08:00
parent d60684e08e
commit 28fed2c6ae
2 changed files with 4 additions and 11 deletions

View file

@ -1,11 +1,9 @@
{% if status.content == 'wants to read' %} {% if status.content == 'wants to read' %}
{% include 'snippets/status/headers/to_read.html' with book=status.mention_books.first %} {% include 'snippets/status/headers/to_read.html' with book=status.mention_books.first %}
{% endif %} {% elif status.content == 'finished reading' %}
{% if status.content == 'finished reading' %}
{% include 'snippets/status/headers/read.html' with book=status.mention_books.first %} {% include 'snippets/status/headers/read.html' with book=status.mention_books.first %}
{% endif %} {% elif status.content == 'started reading' %}
{% if status.content == 'started reading' %}
{% include 'snippets/status/headers/reading.html' with book=status.mention_books.first %} {% include 'snippets/status/headers/reading.html' with book=status.mention_books.first %}
{% else %}
{{ status.content }}
{% endif %} {% endif %}

View file

@ -1,5 +0,0 @@
{% spaceless %}
{% load i18n %}{% load humanize %}
{{ status.content }}
{% endspaceless %}