Clean up object header

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

View File

@@ -39,8 +39,13 @@
{% endif %}
{% endblock %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' %}
<h1 class="title">{% block title %}{{ object }}{% endblock %}</h1>
<p>
<small class="text-muted">
Created {{ object.created }} &middot;
Updated <span title="{{ object.last_updated }}">{{ object.last_updated|timesince }}</span> ago
</small>
</p>
<div class="pull-right noprint">
{% block tab_buttons %}
{% custom_links object %}