From 464048c7cdfa861fe8b4c78000526413a7e2e145 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 2 Mar 2019 17:48:51 -0800 Subject: improve/fix deleted entity view --- python/fatcat_web/templates/entity_macros.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (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 2a4752f2..0fa93679 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -2,8 +2,11 @@ {% macro fatcat_bits(entity, entity_type, expand="") -%}
Fatcat Bits -

State is "{{ entity.state }}". Revision: -
{{ entity.revision }} +

State is "{{ entity.state }}". + {% if entity.state != "deleted" %} + Revision: +
{{ entity.revision }} + {% endif %}
As JSON object via API

-- cgit v1.2.3