summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-07-01 19:50:41 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-07-01 19:50:41 +0200
commit85ca18e18fbff0b37c7270995f0bdc97efdcc3cb (patch)
tree89b8d58c09c4d9789c78e126f30e0bcbacc3af33
parentbb339ac51e4e7ef9548b8d9ffa14130586183aab (diff)
downloadChimère-85ca18e18fbff0b37c7270995f0bdc97efdcc3cb.tar.bz2
Chimère-85ca18e18fbff0b37c7270995f0bdc97efdcc3cb.zip
Don't display actions if there is only one available
-rw-r--r--chimere/templates/chimere/blocks/actions.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/chimere/templates/chimere/blocks/actions.html b/chimere/templates/chimere/blocks/actions.html
index 93debb0..b00666f 100644
--- a/chimere/templates/chimere/blocks/actions.html
+++ b/chimere/templates/chimere/blocks/actions.html
@@ -1,3 +1,4 @@
+{% if actions.1 %}
<div id="topbar">
<ul id='action' class='action'>
{% for action, subactions in actions %}
@@ -18,3 +19,4 @@
{% endfor %}
</ul>
</div>
+{% endif %}