summaryrefslogtreecommitdiff
path: root/app/views/acd_callers
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 21:21:49 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 21:21:49 +0100
commit8fdc1332bbff9c23400459dc7018cba147279cc5 (patch)
treeb56793380fc4305dc23060fc4294721eb859217f /app/views/acd_callers
parenta81b51c2696e403bcd7ee59f0402f5b55527ab2c (diff)
Added %thead and %tbody to the tables.
Diffstat (limited to 'app/views/acd_callers')
-rw-r--r--app/views/acd_callers/_index_core.html.haml39
1 files changed, 20 insertions, 19 deletions
diff --git a/app/views/acd_callers/_index_core.html.haml b/app/views/acd_callers/_index_core.html.haml
index 79aa974..0a2e505 100644
--- a/app/views/acd_callers/_index_core.html.haml
+++ b/app/views/acd_callers/_index_core.html.haml
@@ -1,21 +1,22 @@
%table{:class => 'table table-striped'}
- %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')
-
-
- - for acd_caller in acd_callers
+ %thead
%tr
- %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
+ %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')
+
+ %tbody
+ - for acd_caller in acd_callers
+ %tr
+ %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