summaryrefslogtreecommitdiff
path: root/app/views/softkeys
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-04 14:31:12 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-04 14:31:12 +0100
commit87634e025711be508501cce8c05f23085dad8f9d (patch)
tree7fe3f270694aeeb804021048167731da698ea662 /app/views/softkeys
parent3dead8f9bd964c7330f193cbec82afe44db4149d (diff)
Bugfixes
Diffstat (limited to 'app/views/softkeys')
-rw-r--r--app/views/softkeys/_index_core.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/softkeys/_index_core.html.haml b/app/views/softkeys/_index_core.html.haml
index 70c96bc..e2cb16c 100644
--- a/app/views/softkeys/_index_core.html.haml
+++ b/app/views/softkeys/_index_core.html.haml
@@ -12,8 +12,9 @@
- cache(['softkeys_table_tr', I18n.locale, current_user, softkey]) do
= content_tag_for :tr, softkey do
%td
- %span.handle
- %i.icon-resize-vertical
+ - if softkeys.count > 1
+ %span.handle
+ %i.icon-resize-vertical
%td= softkey.function
%td= softkey.number
%td= softkey.label