summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-28 11:46:41 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-28 11:46:41 -0700
commita0fe8eb84ef6c2607833e5e189596168e8096997 (patch)
treeb1fed5a3c805be5a06407393d60fdd5f240f740f /python
parentb4439fea36278b24916a82db9f1883bfbd032e32 (diff)
downloadfatcat-a0fe8eb84ef6c2607833e5e189596168e8096997.tar.gz
fatcat-a0fe8eb84ef6c2607833e5e189596168e8096997.zip
try to handle attribution order index better
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 46e5f2de..22234755 100644
--- a/python/fatcat/templates/release_view.html
+++ b/python/fatcat/templates/release_view.html
@@ -97,7 +97,7 @@ Raw Object:
</thead>
<tbody>
{% for contrib in release.contribs %}
- <tr><td>{{ contrib.index or '' }}
+ <tr><td>{% if type(contrib.index) == int %} {{ contrib.index + 1 }}{% endif %}
{% if contrib.creator_id %}
<td><a href="/creator/{{contrib.creator_id}}">{{ contrib.raw_name }}</a>
{% else %}