summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-28 13:18:48 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-28 13:18:48 -0700
commit181c81003ccc3dbd8b0e804ba048354c7cca3d69 (patch)
tree1ba27a8c7fa755e81e3a30887113fcbdfa7b4533 /python
parent78b827f5053797cfdd57f494759f9dd7bd733494 (diff)
downloadfatcat-181c81003ccc3dbd8b0e804ba048354c7cca3d69.tar.gz
fatcat-181c81003ccc3dbd8b0e804ba048354c7cca3d69.zip
special case crossref json view
Diffstat (limited to 'python')
-rw-r--r--python/fatcat/templates/release_view.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html
index a94d02f1..a203a841 100644
--- a/python/fatcat/templates/release_view.html
+++ b/python/fatcat/templates/release_view.html
@@ -67,7 +67,7 @@ formal publications, etc) linked to the same work.
{% if release.extra != None %}
<h3>Extra Metadata (raw JSON)</h3>
{% for (key, value) in release.extra.items() %}
-<code><b>{{ key }}:</b> {% if value|length > 80 %} {{ value[:80] }}... {% else %} {{ value }} {% endif %}</code><br>
+<code><b>{{ key }}:</b> {% if key == "crossref" %} {{ value[:50] }}... {% else %} {{ value }} {% endif %}</code><br>
{% endfor %}
{% endif %}