diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-03-19 19:35:11 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-03-19 19:35:11 -0700 |
commit | be087e6f31f7909101759fc975272a4fdf2bc95b (patch) | |
tree | 478266637ba5f0c3fafde57b13c98bafb8140b03 /python/fatcat_web/templates/release_view.html | |
parent | 4c20cea1553ba369e935d56bea2bbbb1a8485954 (diff) | |
download | fatcat-be087e6f31f7909101759fc975272a4fdf2bc95b.tar.gz fatcat-be087e6f31f7909101759fc975272a4fdf2bc95b.zip |
make wayback archive_urls work
Diffstat (limited to 'python/fatcat_web/templates/release_view.html')
-rw-r--r-- | python/fatcat_web/templates/release_view.html | 2 |
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 |