summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-15 16:44:20 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-15 16:44:20 -0700
commit9b202b026fc886d0e068656fe8cbcc1d2091c318 (patch)
tree67f64222092fc4843c699fbdf760d25986770bf3
parent68bcbf1e6e5862cd11a1c5065417d358ef75d6b9 (diff)
downloadfatcat-9b202b026fc886d0e068656fe8cbcc1d2091c318.tar.gz
fatcat-9b202b026fc886d0e068656fe8cbcc1d2091c318.zip
monkey patch broken release_view
-rw-r--r--python/fatcat/templates/release_view.html6
1 files changed, 3 insertions, 3 deletions
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.
<ol>
{% for ref in release.refs %}
- <li>{% if ref.extra != None %}{{ ref.extra }}{% else %}<i>unknown</i>{% endif %}
+ <li>{% if ref.extra != None and ref.extra.unstructured != None %}{{ ref.extra.unstructured }}{% else %}<i>unknown</i>{% endif %}
{% if ref.target_release_id != None %}
(<a href="/release/{{ ref.target_release_id }}">fatcat release</a>)
- {% elif ref.extra != None and ref.extra.doi != None %}
- (DOI: <a href="/release/lookup?doi={{ ref.exta.doi }}">{{ ref.extra.doi }}</a>)
+{# {% elif ref.extra != None and ref.extra.doi != None %}
+ (DOI: <a href="/release/lookup?doi={{ ref.exta.get('doi') }}">{{ ref.extra.get('doi') }}</a>) #}
{% endif %}
{% endfor %}
</ol>