summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/editgroup_view.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates/editgroup_view.html')
-rw-r--r--python/fatcat_web/templates/editgroup_view.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/editgroup_view.html b/python/fatcat_web/templates/editgroup_view.html
new file mode 100644
index 00000000..ac3228b0
--- /dev/null
+++ b/python/fatcat_web/templates/editgroup_view.html
@@ -0,0 +1,54 @@
+{% extends "base.html" %}
+{% block body %}
+
+{# extended by changelog_entry #}
+{% block editgroupheader %}
+<h1 class="ui header">Edit Group
+<div class="sub header"><code>editgroup {{ editgroup.id }}</code></div></h1>
+{% endblock %}
+
+{# TODO: <p>Editor: <a href="/editor/{{ editgroup.editor.username }}">{{ editgroup.editor.username }}</a> #}
+<br><b>Editor:</b> <a href="/editor/{{editgroup.editor_id}}">{{ editgroup.editor_id }}</a>
+<br><b>Description:</b> {{ editgroup.description }}
+
+<h3>Work Edits ({{ editgroup.edits.works|count }})</h3>
+<ul>
+{% for edit in editgroup.edits.works %}
+ <li>Work edit #<a href="/work/edit/{{ edit.edit_id }}">{{ edit.edit_id }}</a>:
+ <a href="/work/{{ edit.ident }}">{{ edit.ident }}</a> to rev {{ edit.revision }}
+{% endfor %}
+</ul>
+
+<h3>Release Edits ({{ editgroup.edits.releases|count }})</h3>
+<ul>
+{% for edit in editgroup.edits.releases %}
+ <li>Release edit #<a href="/release/edit/{{ edit.edit_id }}">{{ edit.edit_id }}</a>:
+ <a href="/release/{{ edit.ident }}">{{ edit.ident }}</a> to rev {{ edit.revision }}
+{% endfor %}
+</ul>
+
+<h3>Container Edits ({{ editgroup.edits.containers|count }})</h3>
+<ul>
+{% for edit in editgroup.edits.containers %}
+ <li>Container edit #<a href="/container/edit/{{ edit.edit_id }}">{{ edit.edit_id }}</a>:
+ <a href="/container/{{ edit.ident }}">{{ edit.ident }}</a> to rev {{ edit.revision }}
+{% endfor %}
+</ul>
+
+<h3>Creator Edits ({{ editgroup.edits.creators|count }})</h3>
+<ul>
+{% for edit in editgroup.edits.creators %}
+ <li>Creator edit #<a href="/creator/edit/{{ edit.edit_id }}">{{ edit.edit_id }}</a>:
+ <a href="/creator/{{ edit.ident }}">{{ edit.ident }}</a> to rev {{ edit.revision }}
+{% endfor %}
+</ul>
+
+<h3>File Edits ({{ editgroup.edits.files|count }})</h3>
+<ul>
+{% for edit in editgroup.edits.files %}
+ <li>File edit #<a href="/file/edit/{{ edit.edit_id }}">{{ edit.edit_id }}</a>:
+ <a href="/file/{{ edit.ident }}">{{ edit.ident }}</a> to rev {{ edit.revision }}
+{% endfor %}
+</ul>
+
+{% endblock %}