aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_history.html
blob: 54577b2f9a2441f9a1f1546e37bbd055b1051345 (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
{% extends "base.html" %}
{% block body %}

<h1 class="ui header">{% if page_title != None %}{{ page_title }}{% endif %}
<div class="sub header">
  <a href="/{{entity_type}}/{{entity.ident}}">
    <code>{{ entity_type }} {{ entity.ident }}</code>
  </a>
</div>
</h1>

<h3 class="ui header">Fatcat Metadata Edit History</h3>

<table class="ui table">
  <thead><tr><th>Changelog<br>Index
             <th>Timestamp (UTC)
             <th>Editgroup
             <th>Editor
             <th>Description
  <tbody>
  {% for entry in history %}
  <tr><td><a href="/changelog/{{ entry.changelog_entry.index }}">{{ entry.changelog_entry.index }}</a>
      <td>{{ entry.changelog_entry.timestamp }}
      <td><a href="/editgroup/{{ entry.editgroup.id }}">{{ entry.editgroup.id }}</a>
      <td><a href="/editor/{{ entry.editgroup.editor_id }}">{{ entry.editgroup.editor_id }}</a>
      <td>{% if entry.editgroup.description != None %}{{ entry.editgroup.description }}{% endif %}
  {% endfor %}
</table>

{% endblock %}