blob: ad9ab16b7ed5b78f514269592dbc601aa2aa439c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
- content_for :title, t("call_forwards.show.page_title")
%p
%strong= t('call_forwards.show.call_forward_case') + ":"
= t("call_forward_cases.#{@call_forward.call_forward_case.value}")
%p
%strong= t('call_forwards.show.timeout') + ":"
= @call_forward.timeout
%p
%strong= t('call_forwards.show.destination') + ":"
- if @call_forward.destinationable_id && @call_forward.destinationable
= "#{@call_forward.destinationable_type}: #{@call_forward.destinationable}"
- elsif !@call_forward.destinationable_type.blank?
= "#{@call_forward.destinationable_type}: #{@call_forward.destination}"
- else
= @call_forward.destination
%p
%strong= t('call_forwards.show.source') + ":"
= @call_forward.source
%p
%strong= t('call_forwards.show.active') + ":"
= @call_forward.active
= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @parent, :child => @call_forward }
|