summaryrefslogtreecommitdiff
path: root/app/views/call_forwards/show.html.haml
blob: c2187b1cea63643489643071f1db405328687455 (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
26
27
28
29
30
31
32
33
- content_for :title, t("call_forwards.show.page_title")

%p
  %strong= t('call_forwards.show.phone_number_id') + ":"
  = @call_forward.phone_number
%p
  %strong= t('call_forwards.show.call_forward_case_id') + ":"
  = 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') + ":"
  = @call_forward.destination
- if @call_forward.call_forwardable_type == 'HuntGroup' && @call_forward.call_forwardable.class == HuntGroup 
  %p
    %strong= t('call_forwards.show.hunt_group') + ":"
    = @call_forward.call_forwardable
- if @call_forward.call_forwardable_type == 'Voicemail'
  %p
    %strong= t('call_forwards.show.to_voicemail') + ":"
    = 'active'
%p
  %strong= t('call_forwards.show.source') + ":"
  = @call_forward.source
%p
  %strong= t('call_forwards.show.depth') + ":"
  = @call_forward.depth
%p
  %strong= t('call_forwards.show.active') + ":"
  = @call_forward.active

= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @phone_number, :child => @call_forward }