summaryrefslogtreecommitdiff
path: root/app/views/acd_callers
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-17 12:01:45 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-17 12:01:45 +0100
commitb80bd744ad873f6fc43018bc4bfb90677de167bd (patch)
tree072c4b0e33d442528555b82c415f5e7a1712b2b0 /app/views/acd_callers
parent3e706c2025ecc5523e81ad649639ef2ff75e7bac (diff)
Start of GS5.
Diffstat (limited to 'app/views/acd_callers')
-rw-r--r--app/views/acd_callers/_index_core.html.haml21
-rw-r--r--app/views/acd_callers/index.html.haml6
-rw-r--r--app/views/acd_callers/show.html.haml25
3 files changed, 52 insertions, 0 deletions
diff --git a/app/views/acd_callers/_index_core.html.haml b/app/views/acd_callers/_index_core.html.haml
new file mode 100644
index 0000000..958b3ff
--- /dev/null
+++ b/app/views/acd_callers/_index_core.html.haml
@@ -0,0 +1,21 @@
+%table
+ %tr
+ %th= t('acd_callers.index.channel_uuid')
+ %th= t('acd_callers.index.automatic_call_distributor_id')
+ %th= t('acd_callers.index.status')
+ %th= t('acd_callers.index.enter_time')
+ %th= t('acd_callers.index.agent_answer_time')
+ %th= t('acd_callers.index.callback_number')
+ %th= t('acd_callers.index.callback_attempts')
+
+ - reset_cycle
+ - for acd_caller in acd_callers
+ %tr{:class => cycle('odd', 'even')}
+ %td= acd_caller.channel_uuid
+ %td= acd_caller.automatic_call_distributor_id
+ %td= acd_caller.status
+ %td= acd_caller.enter_time
+ %td= acd_caller.agent_answer_time
+ %td= acd_caller.callback_number
+ %td= acd_caller.callback_attempts
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => acd_caller} \ No newline at end of file
diff --git a/app/views/acd_callers/index.html.haml b/app/views/acd_callers/index.html.haml
new file mode 100644
index 0000000..70439ed
--- /dev/null
+++ b/app/views/acd_callers/index.html.haml
@@ -0,0 +1,6 @@
+- title t("acd_callers.index.page_title")
+
+- if @acd_callers && @acd_callers.count > 0
+ = render "index_core", :acd_callers => @acd_callers
+
+= render :partial => 'shared/create_link', :locals => {:child_class => AcdCaller} \ No newline at end of file
diff --git a/app/views/acd_callers/show.html.haml b/app/views/acd_callers/show.html.haml
new file mode 100644
index 0000000..0ce8345
--- /dev/null
+++ b/app/views/acd_callers/show.html.haml
@@ -0,0 +1,25 @@
+- title t("acd_callers.show.page_title")
+
+%p
+ %strong= t('acd_callers.show.channel_uuid') + ":"
+ = @acd_caller.channel_uuid
+%p
+ %strong= t('acd_callers.show.automatic_call_distributor_id') + ":"
+ = @acd_caller.automatic_call_distributor_id
+%p
+ %strong= t('acd_callers.show.status') + ":"
+ = @acd_caller.status
+%p
+ %strong= t('acd_callers.show.enter_time') + ":"
+ = @acd_caller.enter_time
+%p
+ %strong= t('acd_callers.show.agent_answer_time') + ":"
+ = @acd_caller.agent_answer_time
+%p
+ %strong= t('acd_callers.show.callback_number') + ":"
+ = @acd_caller.callback_number
+%p
+ %strong= t('acd_callers.show.callback_attempts') + ":"
+ = @acd_caller.callback_attempts
+
+= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @acd_caller } \ No newline at end of file