From 204a308be0f741726b9a620d88fbc22b22124c81 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 29 Dec 2023 18:55:37 +0000 Subject: Namespace all modules under gn2. We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. --- gn2/wqflask/templates/edit_history.html | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 gn2/wqflask/templates/edit_history.html (limited to 'gn2/wqflask/templates/edit_history.html') diff --git a/gn2/wqflask/templates/edit_history.html b/gn2/wqflask/templates/edit_history.html new file mode 100644 index 00000000..876ab085 --- /dev/null +++ b/gn2/wqflask/templates/edit_history.html @@ -0,0 +1,56 @@ +{% extends "base.html" %} +{% block title %}Trait Submission{% endblock %} + +{% block css %} + +{% endblock %} + +{% block content %} + +
+ +

History

+ {% if diff %} +
+ + + + + + + + + {%set ns = namespace(display_ts=True)%} + {%for ts, item in diff.items()%} + {%set ns.display_ts = True%} + {%for the_diff in item%} + + {%if ns.display_ts%} + + {%set ns.display_ts = False%} + {%endif%} + + + + + {%endfor%} + {%endfor%} + +
TimestampEditorFieldDiff
{{ts}}{{the_diff.author}}{{the_diff.diff.field}}
{{the_diff.diff.diff}}
+
+ {% endif %} + +
+{%endblock%} + +{% block js %} + + + +{% endblock %} -- cgit 1.4.1