diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-06-17 17:22:24 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-06-17 17:22:24 -0700 |
commit | 81daf14fddf6c9671bbf065a07eb4e573749cbfe (patch) | |
tree | 73e0b6e7cb2fb8368d36908d27a690f7fefb93c8 /python/fatcat/templates/release_view.html | |
parent | 3eee396bde8c193029e72ab057471f13397fa05a (diff) | |
download | fatcat-81daf14fddf6c9671bbf065a07eb4e573749cbfe.tar.gz fatcat-81daf14fddf6c9671bbf065a07eb4e573749cbfe.zip |
incorportate reverse lookups into web ui
Diffstat (limited to 'python/fatcat/templates/release_view.html')
-rw-r--r-- | python/fatcat/templates/release_view.html | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html index 6572919e..09a0b97b 100644 --- a/python/fatcat/templates/release_view.html +++ b/python/fatcat/templates/release_view.html @@ -41,6 +41,19 @@ Raw JSON Object: --> <br> +{% if files != [] %} +<p>Files believed to represent this release: +<ul> + {% for file in files %} + <li><a href="/file/{{ file.ident }}">{{ file.sha1}}</a> ({{ file.size }} bytes), at <a href="{{ file.url }}">{{ file.url }}</a> + {% endfor %} +</ul> +{% else %} +<p>There are no known files associated with this release (you could try other +releases for this work?). +{% endif %} + +<br> {% if release.contribs.size != 0 %} <p>Full list of contributors (not just authors): <table> @@ -76,6 +89,4 @@ Raw JSON Object: <p>No reference list available. {% endif %} - - {% endblock %} |