From cbbfef7f1ac2b4252c2818d707bbfa21bc855433 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 18 Sep 2013 23:31:21 +0200 Subject: Add history navigation for operations, context records and finds (refs #1401) --- .../templates/ishtar/sheet_contextrecord.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'archaeological_context_records/templates') diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 355e76abc..8356d789d 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -1,6 +1,18 @@ {% extends "ishtar/sheet.html" %} {% load i18n %} {% block content %} +{% if previous or next %} +
+{%if previous%} +{%trans "Previous version"%} ({{previous}}) +{% endif %} +{% if previous and next %} - {% endif %} +{%if next%} +Rollback - +{%trans "Next version"%} ({{next}}) +{% endif %} +
+{% endif %}
{%trans "Export as:"%} {%trans "OpenOffice.org file"%}, {%trans "PDF file"%}

{% trans "Context Record"%}

-- cgit v1.2.3