diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-04-10 00:34:08 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-04-10 00:34:08 +0200 |
| commit | 412e1567c453509ca980ea1350f20e89db612f7a (patch) | |
| tree | 800d34322bdecea118fbbb62db376b1d0bbf4e05 /ishtar/templates/sheet_file.html | |
| parent | 00993b14812e6cc97b1e268e986884e92523f05e (diff) | |
| download | Ishtar-412e1567c453509ca980ea1350f20e89db612f7a.tar.bz2 Ishtar-412e1567c453509ca980ea1350f20e89db612f7a.zip | |
Show history in sheets (refs #349)
Diffstat (limited to 'ishtar/templates/sheet_file.html')
| -rw-r--r-- | ishtar/templates/sheet_file.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ishtar/templates/sheet_file.html b/ishtar/templates/sheet_file.html index 8a004b0a5..b161a8e22 100644 --- a/ishtar/templates/sheet_file.html +++ b/ishtar/templates/sheet_file.html @@ -1,6 +1,16 @@ {% extends "sheet.html" %} {% load i18n %} {% block content %} +{% if previous or next %} +<div class='tool'> +{%if previous%} +<a href="#" onclick='load_window("{% url show-historized-file item.pk previous %}");$("#{{window_id}}").hide();return false;'>{%trans "Previous version"%} ({{previous}})</a> +{% endif %} +{%if next%} + - <a href="#" onclick='load_window("{% url show-historized-file item.pk next %}");$("#{{window_id}}").hide();return false;'>{%trans "Next version"%} ({{next}})</a> +{% endif %} +</div> +{% endif %} <div class='tool'>{%trans "Export as:"%} <a href='{% url show-file item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-file item.pk "pdf" %}'>{%trans "PDF file"%}</a></div> <h3>{% trans "General"%}</h3> <p><label>{%trans "Year:"%}</label> <span class='value'>{{ item.year }}</span></p> |
