From 03a17e69195c6e3bf3c5003ddead34f5d1f52760 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 27 Sep 2018 23:14:43 -0700 Subject: not all releases have date --- python/fatcat/templates/release_search.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'python') 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: {{ paper.doi }} - {{ paper.release_type }} - - {{ paper.release_date[:4] }}
+ {% if paper.release_date %} + - {{ paper.release_date[:4] }} + {% endif %} +
{% endif %} {% if paper.container_name %} {% if paper.container_issnl %} -- cgit v1.2.3