From a0fe8eb84ef6c2607833e5e189596168e8096997 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 28 Sep 2018 11:46:41 -0700 Subject: try to handle attribution order index better --- python/fatcat/templates/release_view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html index 46e5f2de..22234755 100644 --- a/python/fatcat/templates/release_view.html +++ b/python/fatcat/templates/release_view.html @@ -97,7 +97,7 @@ Raw Object: {% for contrib in release.contribs %} - {{ contrib.index or '' }} + {% if type(contrib.index) == int %} {{ contrib.index + 1 }}{% endif %} {% if contrib.creator_id %} {{ contrib.raw_name }} {% else %} -- cgit v1.2.3