From 149140e2b9f66f389299914c058c648d8bba8120 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 23 Apr 2020 17:22:22 -0700 Subject: web: fix ident=None broken links On web interface views for revisions, we had a bunch of broken links because the ident is "None". This commit fixes these by removing the links. --- python/fatcat_web/templates/entity_macros.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/fatcat_web/templates/entity_macros.html') diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index 7c5436c6..3308a3d5 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -54,10 +54,12 @@ +{% if entity.ident %}
Edit Metadata View History
+{% endif %} {%- endmacro %} -- cgit v1.2.3