summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-02-24 15:40:25 +0000
committerGerrit Code Review <review@openstack.org>2015-02-24 15:40:25 +0000
commit5a465b0fe00e5ee5653c5f1496928421f667fc87 (patch)
tree5b938d016e576bb35e8a6f885e870c65c69b382a
parent408d7fdc6e8589725658db89b42f38f897159b00 (diff)
parent0113aeee52ab149440d82798843f120dc5a4c79a (diff)
downloadtuskar-ui-5a465b0fe00e5ee5653c5f1496928421f667fc87.tar.gz
Merge "Optionally show labels of the action buttons"
-rw-r--r--tuskar_ui/infrastructure/templates/infrastructure/header_actions.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tuskar_ui/infrastructure/templates/infrastructure/header_actions.html b/tuskar_ui/infrastructure/templates/infrastructure/header_actions.html
index e8a26354..6544f295 100644
--- a/tuskar_ui/infrastructure/templates/infrastructure/header_actions.html
+++ b/tuskar_ui/infrastructure/templates/infrastructure/header_actions.html
@@ -3,7 +3,8 @@
<a href="{{ action.url }}"
title="{{ action.name }}"
class="btn btn-default btn-lg btn-no-border {% if action.ajax_modal %}ajax-modal{% endif %}">
- <span class="fa {{ action.icon }}"></span>
+ {% if action.icon %}<span class="fa {{ action.icon }}"></span>{% endif %}
+ {% if action.show_name %}{{ action.name }}{% endif %}
</a>
{% endfor %}
</div>