summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/editor_editgroups.html
blob: 756b3a027204ac86c5f85f10613932b423f9790d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{% extends "base.html" %}
{% block body %}

<h1 class="ui header">{{ editor.username }}: Edit History
<div class="sub header">
  <code>editor_{{editor.editor_id}}</code>
</div>
</h1>
<a href="/editor/{{ editor.editor_id }}/editgroups">Edit History</a> - 
<a href="/editor/{{ editor.editor_id }}/annotations">Comments and Annotation History</a>

<br>
<table class="ui table">
  <thead><tr>{# <th>Created (UTC) #}
             <th>Status
             <th>Editgroup
             <th>Description
  <tbody>
  {% for editgroup in editgroups %}
  <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.editgroup_id }}
          </a></code></small>
      <td>{% if editgroup.description != None %}{{ editgroup.description }}{% endif %}
  {% endfor %}
</table>

{% endblock %}