aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-22 11:13:06 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-22 11:13:06 -0700
commit374dd6aac627468a17b9a0b09051845e0aaebacc (patch)
tree18932d0dc40947c0fdde3fc081d3d1b250860d3a /python/fatcat_web
parent02c18b7178385ddb5db005389873bc888e58e108 (diff)
downloadfatcat-374dd6aac627468a17b9a0b09051845e0aaebacc.tar.gz
fatcat-374dd6aac627468a17b9a0b09051845e0aaebacc.zip
improve entity history view
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/entity_history.html17
1 files changed, 14 insertions, 3 deletions
diff --git a/python/fatcat_web/templates/entity_history.html b/python/fatcat_web/templates/entity_history.html
index 102fb1b5..eee87487 100644
--- a/python/fatcat_web/templates/entity_history.html
+++ b/python/fatcat_web/templates/entity_history.html
@@ -19,10 +19,21 @@ This table only shows <i>merged</i> edits, not work-in-progress.
<th>Description
<tbody>
{% for entry in history %}
- <tr><td><a href="/changelog/{{ entry.changelog_entry.index }}">{{ entry.changelog_entry.index }}</a>
+ <tr><td><a href="/changelog/{{ entry.changelog_entry.index }}">#{{ entry.changelog_entry.index }}</a>
<br>{{ entry.changelog_entry.timestamp.strftime("%Y-%m-%d %H:%M") }}
- <td><a href="/editgroup/{{ entry.editgroup.editgroup_id }}">{{ entry.editgroup.editgroup_id[:8] }}...</a> by
- <a href="/editor/{{ entry.editgroup.editor_id }}">editor_id</a>
+ <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>