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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
- content_for :title, t("automatic_call_distributors.show.page_title")
%table.table.table-striped
%tbody
%tr
%td
%strong= t('automatic_call_distributors.show.name') + ":"
%td= @automatic_call_distributor.name
%tr
%td
%strong= t('automatic_call_distributors.show.strategy') + ":"
%td= t("automatic_call_distributors.strategies.#{@automatic_call_distributor.strategy}")
%tr
%td
%strong= t('automatic_call_distributors.show.max_callers') + ":"
%td= @automatic_call_distributor.max_callers
%tr
%td
%strong= t('automatic_call_distributors.show.agent_timeout') + ":"
%td= @automatic_call_distributor.agent_timeout
%tr
%td
%strong= t('automatic_call_distributors.show.retry_timeout') + ":"
%td= @automatic_call_distributor.retry_timeout
%tr
%td
%strong= t('automatic_call_distributors.show.join') + ":"
%td= t("automatic_call_distributors.join_on.#{@automatic_call_distributor.join}")
%tr
%td
%strong= t('automatic_call_distributors.show.leave') + ":"
%td= t("automatic_call_distributors.leave_on.#{@automatic_call_distributor.leave}")
%tr
%td
%strong= t('automatic_call_distributors.show.announce_position') + ":"
%td= @automatic_call_distributor.announce_position
%tr
%td
%strong= t('automatic_call_distributors.show.announce_call_agents') + ":"
%td= @automatic_call_distributor.announce_call_agents
%tr
%td
%strong= t('automatic_call_distributors.show.greeting') + ":"
%td= @automatic_call_distributor.greeting
%tr
%td
%strong= t('automatic_call_distributors.show.goodbye') + ":"
%td= @automatic_call_distributor.goodbye
%tr
%td
%strong= t('automatic_call_distributors.show.music') + ":"
%td= @automatic_call_distributor.music
= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @automatic_call_distributor.automatic_call_distributorable, :child => @automatic_call_distributor }
- if can?( :index, @automatic_call_distributor.phone_numbers )
%h3= t('automatic_call_distributors.index.phone_numbers')
= render 'phone_numbers/index_core', :phone_numbers => @automatic_call_distributor.phone_numbers
= render :partial => 'shared/create_link', :locals => {:parent => @automatic_call_distributor, :child_class => PhoneNumber, :short_link => true}
- if can?( :index, @automatic_call_distributor.acd_agents )
%h3= t('automatic_call_distributors.index.acd_agents')
= render 'acd_agents/index_core', :acd_agents => @automatic_call_distributor.acd_agents
= render :partial => 'shared/create_link', :locals => {:parent => @automatic_call_distributor, :child_class => AcdAgent, :short_link => true}
|