diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-05 16:07:57 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-05 16:07:57 -0800 |
commit | e43cab07166a9ce8c73968ea145daf1c2b01094a (patch) | |
tree | afccd9f71d3196d02ed06d60b171102091def0bb /python | |
parent | aab1fd777d86dc58c44a6b6007b190afb4de8ded (diff) | |
download | fatcat-e43cab07166a9ce8c73968ea145daf1c2b01094a.tar.gz fatcat-e43cab07166a9ce8c73968ea145daf1c2b01094a.zip |
fix file-to-release links
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_web/templates/file_view.html | 4 |
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> |