diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-06-30 20:30:51 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-06-30 20:31:00 -0700 |
commit | eb9c5b9a8d0b55e0ddaec864a1810f5f5d963a3e (patch) | |
tree | 6154a519565d2b94fae54f32d9ea20088be4785c /python/fatcat/templates/entity_history.html | |
parent | 9f40f6131cb08f14a8a5b4211af9c71ee474f3e6 (diff) | |
download | fatcat-eb9c5b9a8d0b55e0ddaec864a1810f5f5d963a3e.tar.gz fatcat-eb9c5b9a8d0b55e0ddaec864a1810f5f5d963a3e.zip |
more fatcat-web views (changelog, history, etc)
Diffstat (limited to 'python/fatcat/templates/entity_history.html')
-rw-r--r-- | python/fatcat/templates/entity_history.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/python/fatcat/templates/entity_history.html b/python/fatcat/templates/entity_history.html new file mode 100644 index 00000000..54577b2f --- /dev/null +++ b/python/fatcat/templates/entity_history.html @@ -0,0 +1,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 %} |