From 9b202b026fc886d0e068656fe8cbcc1d2091c318 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 15 Aug 2018 16:44:20 -0700 Subject: monkey patch broken release_view --- python/fatcat/templates/release_view.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python') diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html index dd92f611..9be312e1 100644 --- a/python/fatcat/templates/release_view.html +++ b/python/fatcat/templates/release_view.html @@ -147,11 +147,11 @@ Believed to represent this release... This release citing other releases.
    {% for ref in release.refs %} -
  1. {% if ref.extra != None %}{{ ref.extra }}{% else %}unknown{% endif %} +
  2. {% if ref.extra != None and ref.extra.unstructured != None %}{{ ref.extra.unstructured }}{% else %}unknown{% endif %} {% if ref.target_release_id != None %} (fatcat release) - {% elif ref.extra != None and ref.extra.doi != None %} - (DOI: {{ ref.extra.doi }}) +{# {% elif ref.extra != None and ref.extra.doi != None %} + (DOI: {{ ref.extra.get('doi') }}) #} {% endif %} {% endfor %}
-- cgit v1.2.3