summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/webcapture_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-13 14:24:16 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-13 14:24:16 -0700
commit404f6ff6d542dc6dc61395cdb25646e3a69eb061 (patch)
treec70a5421be53f935674f64f0d519a31e32fba4d4 /python/fatcat_web/templates/webcapture_view.html
parent95286700bbe06c8c0676e08acc0b6dc4a8f8504d (diff)
downloadfatcat-404f6ff6d542dc6dc61395cdb25646e3a69eb061.tar.gz
fatcat-404f6ff6d542dc6dc61395cdb25646e3a69eb061.zip
implement major refactor for other entity types
Diffstat (limited to 'python/fatcat_web/templates/webcapture_view.html')
-rw-r--r--python/fatcat_web/templates/webcapture_view.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_web/templates/webcapture_view.html b/python/fatcat_web/templates/webcapture_view.html
index 9020bf63..b5495cee 100644
--- a/python/fatcat_web/templates/webcapture_view.html
+++ b/python/fatcat_web/templates/webcapture_view.html
@@ -1,4 +1,4 @@
-{% set entity = webcapture %}
+{% set webcapture = entity %}
{% import "entity_macros.html" as entity_macros %}
{% extends "base.html" %}
@@ -36,7 +36,7 @@
<br>
<h3>Archive URLs</h3>
{% if webcapture.archive_urls != None %}
- {{ entity_macros.url_list(webcapture.archive_urls, webcapture.wayback_suffix) }}
+ {{ entity_macros.url_list(webcapture.archive_urls, webcapture._wayback_suffix) }}
{% else %}
No known public archive for this webcapture.
{% endif %}
@@ -78,7 +78,7 @@ This web capture is empty (contains no resources).
</div>
{% endif %}
-{{ entity_macros.fatcat_bits(entity, "webcapture", "") }}
+{{ entity_macros.fatcat_bits(entity, "webcapture", "", editgroup) }}
</div>
</div>