summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/changelog.html
blob: 3ad01d6376ba170d87d2263c05142d0c5425cb5e (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
38
39
40
41
42
43
44
45
46
47
{% extends "base.html" %}

{% block title %}Changelog{% endblock %}

{% block body %}

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

<p>This is a feed of all the changes to the catalog, in the order that they are
accepted. Only the most recent entries are shown, but the API can be used to
inspect every change all the way back to the start.

<table class="ui small 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 server"></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 }}">
          editgroup_{{ entry.editgroup.editgroup_id }}
        </a></code></small>
      <td>{% if entry.editgroup.description != None %}{{ entry.editgroup.description }}{% endif %}
  {% endfor %}
</table>

<div style="float: right; font-size: smaller;">
  {% if config.FATCAT_DOMAIN == "fatcat.wiki" %}
    <a href="https://api.fatcat.wiki/v0/changelog">As JSON via API</a>
  {% else %}
    <a href="{{ config.FATCAT_API_HOST }}/changelog">As JSON via API</a>
  {% endif %}
</div>

{% endblock %}