aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/editor_editgroups.html
blob: abfd977261ab17208867a0ae0267f738899b0aa8 (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
{% 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><code><a href="/editgroup/{{ editgroup.editgroup_id }}">{{ editgroup.editgroup_id }}</a></code>
      <td>{% if editgroup.description != None %}{{ editgroup.description }}{% endif %}
  {% endfor %}
</table>

{% endblock %}