aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/editor_editgroups.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-04-03 12:10:54 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-04-03 12:10:54 -0700
commit668076105a975c2898c912c6259aa0189a7662a7 (patch)
tree1cc55bf5e0927704f4698cb1769e06a82a1b841e /python/fatcat_web/templates/editor_editgroups.html
parent681135eff787493d786c1e50f52e3125c06e0d97 (diff)
downloadfatcat-668076105a975c2898c912c6259aa0189a7662a7.tar.gz
fatcat-668076105a975c2898c912c6259aa0189a7662a7.zip
reviewable view; improvments to editgroup views
Diffstat (limited to 'python/fatcat_web/templates/editor_editgroups.html')
-rw-r--r--python/fatcat_web/templates/editor_editgroups.html22
1 files changed, 14 insertions, 8 deletions
diff --git a/python/fatcat_web/templates/editor_editgroups.html b/python/fatcat_web/templates/editor_editgroups.html
index cb9b2f56..7643981f 100644
--- a/python/fatcat_web/templates/editor_editgroups.html
+++ b/python/fatcat_web/templates/editor_editgroups.html
@@ -1,25 +1,31 @@
{% extends "base.html" %}
{% block body %}
-<h1 class="ui header">Editor Changelog: {{ editor.username }}
+<h1 class="ui header">Edit History
<div class="sub header">
- <a href="/editor/{{editor.editor_id}}">
- <code>editor {{ editor.editor_id }}</code>
+ <code>editor
+ <a href="/editor/{{editor.editor_id}}">{{ editor.username }}</a>
+ </code>
</a>
</div>
</h1>
-<p>Changes accepted (aka, merged editgroups):
<table class="ui table">
- <thead><tr><th>Created (UTC)
+ <thead><tr>{# <th>Created (UTC) #}
+ <th>Status
<th>Editgroup
- <th>Editor
<th>Description
<tbody>
{% for editgroup in editgroups %}
- <tr><td>{{ editgroup.created }}
+ <tr>{# <td>{{ editgroup.created }} #}
+ <td>{% if editgroup.changelog_index %}
+ Merged<br>(<a href="/changelog/{{ editgroup.changelog_index }}">#{{ editgroup.changelog_index }}</a>)
+ {% elif editgroup.submitted %}
+ Submitted<br>({{ editgroup.submitted }})
+ {% else %}
+ Work in Progress
+ {% endif %}
<td><code><a href="/editgroup/{{ editgroup.editgroup_id }}">{{ editgroup.editgroup_id }}</a></code>
- <td><code><a href="/editor/{{ editgroup.editor_id }}">{{ editgroup.editor_id }}</a></code>
<td>{% if editgroup.description != None %}{{ editgroup.description }}{% endif %}
{% endfor %}
</table>