summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-04-11 10:51:51 +0200
committerPeter Kozak <spag@golwen.net>2013-04-11 10:51:51 +0200
commit4cbc64ec6a0a800d14ba37acb3b210dc6aa39269 (patch)
tree91e569131bcfde637df580d35fdc2bcb4c8bc10b /app/views
parent78ea4bcd397a4d8f39ad3c08066fe918a8fc89ad (diff)
show destination
Diffstat (limited to 'app/views')
-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