From 855f2c44de8a900766bdc1f80fb8d3b54e0871e9 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 3 Apr 2019 19:40:07 -0700 Subject: editor-specific annotation view --- .../fatcat_web/templates/editor_annotations.html | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 python/fatcat_web/templates/editor_annotations.html (limited to 'python/fatcat_web/templates/editor_annotations.html') diff --git a/python/fatcat_web/templates/editor_annotations.html b/python/fatcat_web/templates/editor_annotations.html new file mode 100644 index 00000000..c46039f5 --- /dev/null +++ b/python/fatcat_web/templates/editor_annotations.html @@ -0,0 +1,35 @@ +{% extends "base.html" %} +{% block body %} + +

Comments and Annotations +
+ editor + {{ editor.username }} + + +
+

+ +
+{% for annotation in annotations %} +
+
+ On + {{ annotation.editgroup_id }} + + at {{ annotation.created.strftime("%Y-%m-%d %H:%M:%S") }} +
+ {% if annotation.extra %} +
+ {{ entity_macros.extra_metadata(annotation.extra) }} +
+ {% endif %} +
+ {{ annotation.comment_markdown|markdown(escape=True) }} +
+
+{% else %} + None! +{% endfor %} + +{% endblock %} -- cgit v1.2.3