From ec0d7f3b50390c2b9140ea954787d365b8d225ae Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 1 Mar 2019 15:48:10 -0800 Subject: make 'Fatcat Bits' a macro --- python/fatcat_web/templates/entity_macros.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 python/fatcat_web/templates/entity_macros.html (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 new file mode 100644 index 00000000..f714a63a --- /dev/null +++ b/python/fatcat_web/templates/entity_macros.html @@ -0,0 +1,14 @@ + +{% macro fatcat_bits(entity, entity_type, expand="") -%} +
+ Fatcat Bits +

State is "{{ entity.state }}". Revision: +
{{ entity.revision }} +
As JSON object via API +

+ +
+ Edit Metadata + View History +
+{%- endmacro %} -- cgit v1.2.3