Link back to all template versions from 1 version

If you get linked to a single version of a template, you’re at a dead
end. Let’s add a link to go back up a level to where you can understand
the current version in context.
This commit is contained in:
Chris Hill-Scott
2016-06-12 14:35:58 +01:00
parent 50a81a96a3
commit 40564df15e
2 changed files with 12 additions and 1 deletions

View File

@@ -19,4 +19,9 @@
{% endwith %}
</div>
{% endblock %}
{{ page_footer(
secondary_link=url_for('.view_template_versions', service_id=current_service.id, template_id=template.id),
secondary_link_text='See all versions of this template'
) }}
{% endblock %}