From 4cbc64ec6a0a800d14ba37acb3b210dc6aa39269 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Thu, 11 Apr 2013 10:51:51 +0200 Subject: show destination --- app/views/call_forwards/show.html.haml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/call_forwards/show.html.haml') 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 -- cgit v1.2.3