blob: 48afa540770a3d5fd78e9cc148b91caea1436ec6 (
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
|
%table.table.table-striped
%thead
%tr
- if !@phone_number
%th= t('call_forwards.index.call_forwardable')
%th= t('call_forwards.index.call_forward_case_id')
%th= t('call_forwards.index.timeout')
%th= t('call_forwards.index.destination')
%th= t('call_forwards.index.source')
- if GuiFunction.display?('depth_field_value_in_index_table', current_user)
%th= t('call_forwards.index.depth')
%th= t('call_forwards.index.active')
%tbody
- for call_forward in call_forwards
%tr
- if !@phone_number
%td= call_forward.call_forwardable
%td= t("call_forward_cases.#{call_forward.call_forward_case.value}")
%td= call_forward.timeout
%td
= call_forward.destination
- if call_forward.destinationable_type
%br
= call_forward.destinationable_type
- if call_forward.destinationable_id
= ": #{call_forward.destinationable}"
%td= call_forward.source
- if GuiFunction.display?('depth_field_value_in_index_table', current_user)
%td= call_forward.depth
%td= call_forward.active
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => call_forward.call_forwardable, :child => call_forward}
|