summaryrefslogtreecommitdiff
path: root/app/views/call_forwards/show.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-20 19:06:19 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-20 19:06:19 +0200
commiteb0e1cc5c26275ff3e5c341404e8bc558f8312b8 (patch)
tree71f449ccd6f15422717de3ac24f87d5e888ddd79 /app/views/call_forwards/show.html.haml
parentdf6e17e48995f25e72509986f30700d778b179b6 (diff)
parent3b27a5d45b12f6bac65da2a8e17387bfda42a2f1 (diff)
Merge branch 'develop'
Diffstat (limited to 'app/views/call_forwards/show.html.haml')
-rw-r--r--app/views/call_forwards/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/call_forwards/show.html.haml b/app/views/call_forwards/show.html.haml
index ad9ab16..fdd5197 100644
--- a/app/views/call_forwards/show.html.haml
+++ b/app/views/call_forwards/show.html.haml
@@ -10,6 +10,8 @@
%strong= t('call_forwards.show.destination') + ":"
- if @call_forward.destinationable_id && @call_forward.destinationable
= "#{@call_forward.destinationable_type}: #{@call_forward.destinationable}"
+ - if !@call_forward.destination.blank?
+ = "(#{@call_forward.destination})"
- elsif !@call_forward.destinationable_type.blank?
= "#{@call_forward.destinationable_type}: #{@call_forward.destination}"
- else