aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-27 23:14:43 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-27 23:14:43 -0700
commit03a17e69195c6e3bf3c5003ddead34f5d1f52760 (patch)
tree6c214cd53a5213c0e7a33d5cd85bfdb7301f629a /python
parentc7573bf142be405f8cb9003400c6860aeb700457 (diff)
downloadfatcat-03a17e69195c6e3bf3c5003ddead34f5d1f52760.tar.gz
fatcat-03a17e69195c6e3bf3c5003ddead34f5d1f52760.zip
not all releases have date
Diffstat (limited to 'python')
-rw-r--r--python/fatcat/templates/release_search.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/fatcat/templates/release_search.html b/python/fatcat/templates/release_search.html
index 1085d263..1f78aaaf 100644
--- a/python/fatcat/templates/release_search.html
+++ b/python/fatcat/templates/release_search.html
@@ -15,7 +15,10 @@
{% if paper.doi %}
DOI: <a href="https://doi.org/{{paper.doi }}" style="color: green;">{{ paper.doi }}</a>
- {{ paper.release_type }}
- - {{ paper.release_date[:4] }}<br>
+ {% if paper.release_date %}
+ - {{ paper.release_date[:4] }}
+ {% endif %}
+ <br>
{% endif %}
{% if paper.container_name %}
{% if paper.container_issnl %}