Skip to content

Commit

Permalink
change date display condition to if populated
Browse files Browse the repository at this point in the history
  • Loading branch information
seabelis committed Dec 20, 2020
1 parent 72839a1 commit 15ec772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openlibrary/templates/type/author/edit.html
Expand Up @@ -73,7 +73,7 @@ <h1>$_("Edit Author")</h1>
</div>
</div>

$if not page.birth_date and not page.death_date and page.date:
$if page.date:
<div class="formElement contentQuarter" id="date">
<div class="label dateLabelAcc">
<label for="date">$_("Date")</label>
Expand Down

0 comments on commit 15ec772

Please sign in to comment.