forked from mirrors/bookwyrm
c5d530c0c4
This fixes #1566 - "Already translated strings sometimes show up untranslated in UI" - add generatednote status header template - include the relevant template (to-read/reading/read) based on the status.content - remove GeneratedNote block from note status header template This is probably not the most correct way of resolving the problem, but it's simple and it works.
11 lines
451 B
HTML
11 lines
451 B
HTML
{% if status.content == 'wants to read' %}
|
|
{% include 'snippets/status/headers/to_read.html' with book=status.mention_books.first %}
|
|
{% endif %}
|
|
|
|
{% if status.content == 'finished reading' %}
|
|
{% include 'snippets/status/headers/read.html' with book=status.mention_books.first %}
|
|
{% endif %}
|
|
|
|
{% if status.content == 'started reading' %}
|
|
{% include 'snippets/status/headers/reading.html' with book=status.mention_books.first %}
|
|
{% endif %}
|