summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/changelog.html
blob: c8b4c030874faebe0dcdbd2962c0ee9b3d7e1886 (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
{% extends "base.html" %}
{% block body %}

<h1 class="ui header">Recent Changes
<div class="sub header"><code>changelog</code></div></h1>

Limited to the most recent entries.

<table class="ui table">
  <thead><tr><th>Changelog<br>Index
             <th>Editgroup
             <th>Description
  <tbody>
  {% for entry in entries %}
  <tr><td><a href="/changelog/{{ entry.index }}">#{{ entry.index }}</a>
          <br>{{ entry.timestamp.strftime("%Y-%m-%d %H:%M:%S") }}
      <td>
        {% if entry.editgroup.editor.is_bot %}
          <i class="icon bug"></i>
        {% else %}
          <i class="icon user"></i>
        {% endif %}
        <code><a href="/editor/{{ entry.editgroup.editor_id }}">
          {{ entry.editgroup.editor.username }}</a>
        </a></code>
        <br>
        <small><code><a href="/editgroup/{{ entry.editgroup.editgroup_id }}">
          {{ entry.editgroup.editgroup_id }}
        </a></code></small>
      <td>{% if entry.editgroup.description != None %}{{ entry.editgroup.description }}{% endif %}
  {% endfor %}
</table>

{% endblock %}