aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-02-05 16:07:57 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-02-05 16:07:57 -0800
commite43cab07166a9ce8c73968ea145daf1c2b01094a (patch)
treeafccd9f71d3196d02ed06d60b171102091def0bb /python
parentaab1fd777d86dc58c44a6b6007b190afb4de8ded (diff)
downloadfatcat-e43cab07166a9ce8c73968ea145daf1c2b01094a.tar.gz
fatcat-e43cab07166a9ce8c73968ea145daf1c2b01094a.zip
fix file-to-release links
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_web/templates/file_view.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/file_view.html b/python/fatcat_web/templates/file_view.html
index 74977668..ccfb3ad2 100644
--- a/python/fatcat_web/templates/file_view.html
+++ b/python/fatcat_web/templates/file_view.html
@@ -21,10 +21,10 @@
{% endif %}
<h3>Releases</h3>
-{% if file.releases != None %}
+{% if file.release_ids != None %}
<p>Releases associated with this file:
<ul>
-{% for release_id in file.releases %}
+{% for release_id in file.release_ids %}
<li><a href="/release/{{ release_id }}"><code>{{ release_id }}</code></a>
{% endfor %}
</ul>