diff options
Diffstat (limited to 'python/fatcat_web/templates/editor_editgroups.html')
-rw-r--r-- | python/fatcat_web/templates/editor_editgroups.html | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/python/fatcat_web/templates/editor_editgroups.html b/python/fatcat_web/templates/editor_editgroups.html index cb9b2f56..3c3dd20d 100644 --- a/python/fatcat_web/templates/editor_editgroups.html +++ b/python/fatcat_web/templates/editor_editgroups.html @@ -1,25 +1,35 @@ {% 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 }} - <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> + <tr>{# <td>{{ editgroup.created.strftime("%Y-%m-%d %H:%M:%S") }} #} + <td>{% if editgroup.changelog_index %} + Merged + <br><a href="/changelog/{{ editgroup.changelog_index }}">#{{ editgroup.changelog_index }}</a> + {% elif editgroup.submitted %} + Submitted + <br>{{ editgroup.submitted.strftime("%Y-%m-%d %H:%M:%S") }} + {% else %} + Work in Progress + {% endif %} + <td><small><code><a href="/editgroup/{{ editgroup.editgroup_id }}"> + {{ editgroup.editgroup_id }} + </a></code></small> <td>{% if editgroup.description != None %}{{ editgroup.description }}{% endif %} {% endfor %} </table> |