Various template changes

This commit is contained in:
2020-03-15 02:53:12 +00:00
parent 7786512dc2
commit 270b1fc5bb
15 changed files with 66 additions and 107 deletions

View File

@@ -39,7 +39,7 @@
<dt>Union Account</dt>
<dd>{{ object.union_account|yesno|capfirst }}</dd>
</dl>
</dl>
</div>
</div>
</div>
@@ -79,11 +79,7 @@
<a href="{% url 'organisation_update' object.pk %}" class="btn btn-default"><span
class="fas fa-pencil"></span> Edit</a>
</div>
<div>
<a href="{% url 'organisation_history' object.pk %}" title="View Revision History">
Last edited {{ object.last_edited_at }} by {{ object.last_edited_by.name }}
</a>
</div>
{% include 'partials/last_edited.html' with target="organisation_history" %}
</div>
</div>
{% endif %}
@@ -91,7 +87,7 @@
{% endblock %}
{% if request.is_ajax %}
{% block barter %}
{% block footer %}
<div class="row">
<div class="col-sm-12 text-right">
<div class="btn-group btn-page">
@@ -100,12 +96,8 @@
<a href="{% url 'organisation_update' object.pk %}" class="btn btn-default"><span
class="fas fa-pencil"></span> Edit</a>
</div>
<div>
<a href="{% url 'organisation_history' object.pk %}" title="View Revision History">
Last edited {{ object.last_edited_at }} by {{ object.last_edited_by.name }}
</a>
</div>
{% include 'partials/last_edited.html' with target="organisation_history" %}
</div>
</div>
{% endblock %}
{% endif %}
{% endif %}