aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-19 19:35:11 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-03-19 19:35:11 -0700
commitbe087e6f31f7909101759fc975272a4fdf2bc95b (patch)
tree478266637ba5f0c3fafde57b13c98bafb8140b03 /python/fatcat_web
parent4c20cea1553ba369e935d56bea2bbbb1a8485954 (diff)
downloadfatcat-be087e6f31f7909101759fc975272a4fdf2bc95b.tar.gz
fatcat-be087e6f31f7909101759fc975272a4fdf2bc95b.zip
make wayback archive_urls work
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/release_view.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 9c7bcbf0..df98ed15 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -262,7 +262,7 @@
<br><small><code><a href="/webcapture/{{ webcapture.ident }}">webcapture:{{ webcapture.ident }}</a></code></small>
<td class="single line">
{% for url in webcapture.archive_urls[:5] %}
- <a href="{{ url.url }}">{{ url.url.split('/')[2] }}</a> ({{ url.rel }})<br>
+ <a href="{{ url.url }}{% if url.rel == "wayback" %}*/{{ webcapture.original_url }}{% endif %}">{{ url.url.split('/')[2] }}</a> ({{ url.rel }})<br>
{% endfor %}
{% if webcapture.urls|length > 5 %}
+ {{ file.urls|length - 5 }} more URLs