summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-02 17:52:40 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-03-02 17:52:40 -0800
commit718a3ae404000d8f1a88ba98b5342b7fddccc744 (patch)
treed2557b2ab796d0e8592c5d375a344a656fad14b7 /python/fatcat_web/templates
parent464048c7cdfa861fe8b4c78000526413a7e2e145 (diff)
downloadfatcat-718a3ae404000d8f1a88ba98b5342b7fddccc744.tar.gz
fatcat-718a3ae404000d8f1a88ba98b5342b7fddccc744.zip
use key in reference list
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/release_view.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 0e09e6ab..805fb176 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -212,7 +212,7 @@
<i>This release citing other releases</i>
<ol class="ui list">
{% for ref in release.refs %}
- <li>
+ <li {% if ref.key %}value="{{ ref.key }}"{% endif %}>
{% if ref.title %}
{{ ref.title }}
{% if ref.container_name %}{{ ref.container_name }}.{% endif %}
@@ -233,6 +233,7 @@
{% if ref.extra != None and ref.extra.doi %}
(DOI: <a href="/release/lookup?doi={{ ref.extra.doi }}">{{ ref.extra.doi }}</a>)
{% endif %}
+ </li>
{% endfor %}
</ol>
{% else %}