summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_nav.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html
index e9709bb76..9a17419a8 100644
--- a/ishtar_common/templates/ishtar/blocks/window_nav.html
+++ b/ishtar_common/templates/ishtar/blocks/window_nav.html
@@ -10,6 +10,8 @@
</span>
<br/>{{previous}}
</a>
+{% else %}
+<span class='history-nav'> </span>
{% endif %}
{% if next %}
<a class='history-nav' title="{% trans 'Restore this version' %}" href="#" onclick='if(confirm("{%trans 'Are you sure to restore to this version? All changement made since this version will be lost.' %}")){load_url("{% url revert_url item.pk item.history_date|date:"c"%}");closeAllWindows();load_window("{% url show_url item.pk None %}");}'>
@@ -26,6 +28,9 @@
</span>
<br/>{{next}}
</a>
+{% else %}
+<span class='history-nav'> </span>
+<span class='history-nav'> </span>
{% endif %}
</div>
{% endif %}