summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-20 20:22:52 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-20 20:25:44 -0700
commit1f54aa6840ddc243e9600f6d3e79f3c03ed1dbbe (patch)
treec0ad31b3bc657849b8fe9bfae7a2c938f7336866 /python
parent1e9e851c89ff773cf878f1e466b061c7217903a8 (diff)
downloadfatcat-1f54aa6840ddc243e9600f6d3e79f3c03ed1dbbe.tar.gz
fatcat-1f54aa6840ddc243e9600f6d3e79f3c03ed1dbbe.zip
add (untested) fix for fulltext link
Diffstat (limited to 'python')
-rw-r--r--python/fatcat/templates/release_view.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html
index 9be312e1..9dccbcf2 100644
--- a/python/fatcat/templates/release_view.html
+++ b/python/fatcat/templates/release_view.html
@@ -162,8 +162,8 @@ This release citing other releases.
</div>
<div class="five wide column">
-{% if files != [] and files[0].url != None %}
-<a href="https://web.archive.org/web/1/{{ files[0].url }}" class="ui top attached fluid huge green button"><i class="file pdf outline icon"></i>Download Full Text</a>
+{% if files != [] and files[0].urls != [] %}
+<a href="https://web.archive.org/web/1/{{ files[0].urls[0].url }}" class="ui top attached fluid huge green button"><i class="file pdf outline icon"></i>Download Full Text</a>
{% else %}
<span class="ui top attached fluid huge grey button"><i class="file cross icon"></i>No Full Text Available</span>
{% endif %}