aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
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 c29492aa..a94d02f1 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 len(value) > 80 %} {{ value[:80] }}... {% else %} {{ value }} {% endif %}</code><br>
+<code><b>{{ key }}:</b> {% if value|length > 80 %} {{ value[:80] }}... {% else %} {{ value }} {% endif %}</code><br>
{% endfor %}
{% endif %}