summaryrefslogtreecommitdiff
path: root/app/views/phone_numbers
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/phone_numbers
parent3dead8f9bd964c7330f193cbec82afe44db4149d (diff)
Bugfixes
Diffstat (limited to 'app/views/phone_numbers')
-rw-r--r--app/views/phone_numbers/_index_core.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/phone_numbers/_index_core.html.haml b/app/views/phone_numbers/_index_core.html.haml
index b68e5af..85982da 100644
--- a/app/views/phone_numbers/_index_core.html.haml
+++ b/app/views/phone_numbers/_index_core.html.haml
@@ -10,8 +10,9 @@
- for phone_number in phone_numbers.order(:position)
= content_tag_for :tr, phone_number do
%td
- %span.handle
- %i.icon-resize-vertical
+ - if phone_numbers.count > 1
+ %span.handle
+ %i.icon-resize-vertical
- if phone_number.phone_numberable_type == 'PhoneBookEntry'
%td= phone_number.name
%td= phone_number