summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-07-29 19:27:57 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2014-07-29 19:27:57 +0200
commitdf6e63ba20ffafcbd47164334ff3bd6dbd617205 (patch)
tree87f9e6659c5a8fe2bffb86c33d76f0688a6c2187
parentb64bf28e5f7879bb083801dd80cfce17dc764f2a (diff)
downloadChimère - projet Saclay-df6e63ba20ffafcbd47164334ff3bd6dbd617205.tar.bz2
Chimère - projet Saclay-df6e63ba20ffafcbd47164334ff3bd6dbd617205.zip
Remove routing specific from details when routing is not available
-rw-r--r--templates/chimere/detail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/chimere/detail.html b/templates/chimere/detail.html
index 929cd95..b511eae 100644
--- a/templates/chimere/detail.html
+++ b/templates/chimere/detail.html
@@ -30,9 +30,9 @@
</div>
<div id='detail_footer'>
<div id='detail-action-bar'>
- <a class='detail_from' href='#'>{% trans "From" context "routing" %}</a>
+ {%if routing_enabled%}<a class='detail_from' href='#'>{% trans "From" context "routing" %}</a>
| <a class='detail_to' href='#'>{% trans "To" context "routing" %}</a>
- | <a class='detail_zoomin' href='#'>{% trans "Zoom in" %}</a>
+ | {% endif %}<a class='detail_zoomin' href='#'>{% trans "Zoom in" %}</a>
| <a class='detail_zoomout' href='#'>{% trans "Zoom out" %}</a>
</div>
<ul class='share'>