From 681135eff787493d786c1e50f52e3125c06e0d97 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 3 Apr 2019 11:31:21 -0700 Subject: editgroup submit/merge --- python/fatcat_web/templates/editgroup_view.html | 50 +++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 4 deletions(-) (limited to 'python/fatcat_web/templates') diff --git a/python/fatcat_web/templates/editgroup_view.html b/python/fatcat_web/templates/editgroup_view.html index 2341f06a..f5a65be0 100644 --- a/python/fatcat_web/templates/editgroup_view.html +++ b/python/fatcat_web/templates/editgroup_view.html @@ -35,13 +35,55 @@ {# extended by changelog_entry #} {% block editgroupheader %} -

Edit Group +{% if not editgroup.changelog_index %} +
+ {% if auth_to_accept %} +
+ + +

+ {% endif %} + {% if auth_to_submit %} + {% if editgroup.submitted %} +
+ + +

+
+ + +
+ {% else %} +
+ + +
+ {% endif %} + {% endif %} +
+{% endif %} + +

Editgroup
editgroup {{ editgroup.editgroup_id }}

{% endblock %} -Editor: {{ editgroup.editor.username }} -
Description: {{ editgroup.description }} -

+
Status: +{% if editgroup.changelog_index %} + Merged (Changelog #{{ editgroup.changelog_index }}) +{% elif editgroup.submitted %} + Submitted ({{ editgroup.submitted }}) +{% else %} + Not Submitted +{% endif %} + +
Editor: {{ editgroup.editor.username }} +
Description: +{% if editgroup.description %} + {{ editgroup.description }} +{% else %} + none +{% endif %} +

{{ edit_list(editgroup.edits.works, "work", "Work") }} -- cgit v1.2.3