mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Don't show read dates of "None"
This commit is contained in:
parent
f868471460
commit
981628260a
1 changed files with 4 additions and 0 deletions
|
@ -67,10 +67,14 @@
|
||||||
<input class="toggle-control" type="radio" name="show-edit-readthrough" id="show-readthrough-{{ readthrough.id }}" checked>
|
<input class="toggle-control" type="radio" name="show-edit-readthrough" id="show-readthrough-{{ readthrough.id }}" checked>
|
||||||
<div class="toggle-content hidden">
|
<div class="toggle-content hidden">
|
||||||
<dl>
|
<dl>
|
||||||
|
{% if readthrough.start_date %}
|
||||||
<dt>Started reading:</dt>
|
<dt>Started reading:</dt>
|
||||||
<dd>{{ readthrough.start_date | naturalday }}</dd>
|
<dd>{{ readthrough.start_date | naturalday }}</dd>
|
||||||
|
{% endif %}
|
||||||
|
{% if readthrough.finish_date %}
|
||||||
<dt>Finished reading:</dt>
|
<dt>Finished reading:</dt>
|
||||||
<dd>{{ readthrough.finish_date | naturalday }}</dd>
|
<dd>{{ readthrough.finish_date | naturalday }}</dd>
|
||||||
|
{% endif %}
|
||||||
</dl>
|
</dl>
|
||||||
<div class="field is-grouped">
|
<div class="field is-grouped">
|
||||||
<label class="button is-small" for="edit-readthrough-{{ readthrough.id }}">
|
<label class="button is-small" for="edit-readthrough-{{ readthrough.id }}">
|
||||||
|
|
Loading…
Reference in a new issue