Skip to content

Commit

Permalink
Merge pull request #90 from ODM2/84-footer-format-fix
Browse files Browse the repository at this point in the history
Footer layout fix
  • Loading branch information
pkdash authored Jan 26, 2024
2 parents 7062f8b + 59b3c1a commit 9999af3
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ <h4>NOTE: This is an archived version of this term. There is a <a href="{% url d
</section>

{% if user.is_staff %}
<section class="previous-versions">
<div class="column two-columns data-view">
<h4>
{% if object.previous_version %}
Previous version of this term: <br><a href="{% url detail_url object.previous_version.term object.previous_version.pk %}">{{ object.previous_version.term }}</a> {{ object.previous_version.definition }}
{% endif %}
</h4>
</div>
<section class="previous-versions data-view">
<h4>
{% if object.previous_version %}
Previous version of this term: <a href="{% url detail_url object.previous_version.term object.previous_version.pk %}">{{ object.previous_version.term }}</a>
{% endif %}
</h4>
</section>
{% endif %}
{% endblock %}

0 comments on commit 9999af3

Please sign in to comment.