mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-26 10:00:33 +00:00
Fixes display for goal statuses
This commit is contained in:
parent
d60684e08e
commit
28fed2c6ae
2 changed files with 4 additions and 11 deletions
|
@ -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 %}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
{% spaceless %}
|
|
||||||
{% load i18n %}{% load humanize %}
|
|
||||||
|
|
||||||
{{ status.content }}
|
|
||||||
{% endspaceless %}
|
|
Loading…
Reference in a new issue