mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-04-22 01:41:46 +00:00
Versioning template improvements
//TODO Rather than have seperate asset templates, convert 'id' into a template variable
This commit is contained in:
5
versioning/templates/partials/last_edited_asset.html
Normal file
5
versioning/templates/partials/last_edited_asset.html
Normal 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>
|
||||
Reference in New Issue
Block a user