aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/editor_editgroups.html
blob: 3c3dd20d560e0a9d0172dba32fdcf153eba89abe (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">Edit History
<div class="sub header">
    <code>editor
      <a href="/editor/{{editor.editor_id}}">{{ editor.username }}</a>
    </code>
  </a>
</div>
</h1>

<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_id }}
          </a></code></small>
      <td>{% if editgroup.description != None %}{{ editgroup.description }}{% endif %}
  {% endfor %}
</table>

{% endblock %}