diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-24 15:17:25 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-24 15:17:25 -0800 |
commit | 24ab203a00354f768fc48e0786b21de4afcd9c4a (patch) | |
tree | 7c5305dafc110fb58e0ab323ba8b58c1f61914ba /python/fatcat_web/templates/release_view.html | |
parent | d7a4e4649e1da2c02ec8472173c79f7c708ce19b (diff) | |
download | fatcat-24ab203a00354f768fc48e0786b21de4afcd9c4a.tar.gz fatcat-24ab203a00354f768fc48e0786b21de4afcd9c4a.zip |
implement release_year (and rustfmt)
Diffstat (limited to 'python/fatcat_web/templates/release_view.html')
-rw-r--r-- | python/fatcat_web/templates/release_view.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html index 85492eba..fd86b7c9 100644 --- a/python/fatcat_web/templates/release_view.html +++ b/python/fatcat_web/templates/release_view.html @@ -22,7 +22,11 @@ <div class="one wide column"></div> <div class="ten wide column" style="font-size: 16px;"> -{% if release.release_date != None %}<p><b>Date (published):</b> {{ release.release_date }}{% endif %} +{% if release.release_date != None %} + <p><b>Date (published):</b> {{ release.release_date }} +{% elif release.release_year != None %} + <p><b>Date (published):</b> {{ release.release_year }} +{% endif %} {% if release.pmid != None %} <br><b>PubMed:</b> <a href="https://www.ncbi.nlm.nih.gov/pubmed/{{ release.pmid }}"> <code>{{ release.pmid }}</code></a> {% endif %} |