From 374dd6aac627468a17b9a0b09051845e0aaebacc Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 22 May 2019 11:13:06 -0700 Subject: improve entity history view --- python/fatcat_web/templates/entity_history.html | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'python/fatcat_web/templates') 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 merged edits, not work-in-progress. Description {% for entry in history %} - {{ entry.changelog_entry.index }} + #{{ entry.changelog_entry.index }}
{{ entry.changelog_entry.timestamp.strftime("%Y-%m-%d %H:%M") }} - {{ entry.editgroup.editgroup_id[:8] }}... by - editor_id + + {% if entry.editgroup.editor.is_bot %} + + {% else %} + + {% endif %} + + {{ entry.editgroup.editor.username }} + +
+ + {{ entry.editgroup.editgroup_id }} + {% if entry.editgroup.description != None %}{{ entry.editgroup.description }}{% endif %} {% endfor %} -- cgit v1.2.3