Clean up object header

This commit is contained in:
jeremystretch
2021-04-13 16:03:07 -04:00
parent 6ad20c53d9
commit 46e144f647
7 changed files with 16 additions and 9 deletions

View File

@@ -18,7 +18,9 @@
<span class="label label-danger">Inactive</span>
{% endif %}
</h4>
{% include 'inc/created_updated.html' %}
<p>
<small class="text-muted">Created {{ object.created }} &middot; Updated <span title="{{ object.last_updated }}">{{ object.last_updated|timesince }}</span> ago</small>
</p>
{% if not object.is_active %}
<div class="alert alert-warning" role="alert">
<i class="mdi mdi-alert"></i>