Versioning template improvements

//TODO Rather than have seperate asset templates, convert 'id' into a template variable
This commit is contained in:
2020-04-06 03:15:43 +01:00
parent 55e37d8c69
commit d216dd4c74
10 changed files with 96 additions and 211 deletions

View File

@@ -0,0 +1,5 @@
<div class="pt-2">
<a href="{% url target object.asset_id %}" title="View Revision History">
Last edited {{ object.last_edited_at|default:'never' }} by {{ object.last_edited_by.name|default:'System' }}
</a>
</div>