summaryrefslogtreecommitdiff
path: root/app/views/automatic_call_distributors
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-21 21:30:48 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 00:02:50 +0100
commitd8fe3b636cab1504cb5d3cb5dc57ed818749ccf5 (patch)
tree8da5973505763a836e59d59c7604f1b381891973 /app/views/automatic_call_distributors
parentc8973406e83861f593af33c959abd4529a855437 (diff)
Twitter Bootstrap stuff.
Diffstat (limited to 'app/views/automatic_call_distributors')
-rw-r--r--app/views/automatic_call_distributors/_form_core.html.haml2
-rw-r--r--app/views/automatic_call_distributors/_index_core.html.haml4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/automatic_call_distributors/_form_core.html.haml b/app/views/automatic_call_distributors/_form_core.html.haml
index 77a38a6..d315ff3 100644
--- a/app/views/automatic_call_distributors/_form_core.html.haml
+++ b/app/views/automatic_call_distributors/_form_core.html.haml
@@ -1,5 +1,5 @@
.inputs
- = f.input :name, :label => t('automatic_call_distributors.form.name.label'), :hint => conditional_hint('automatic_call_distributors.form.name.hint')
+ = f.input :name, :label => t('automatic_call_distributors.form.name.label'), :hint => conditional_hint('automatic_call_distributors.form.name.hint'), :autofocus => true
= f.input :strategy, :label => t('automatic_call_distributors.form.strategy.label'), :hint => conditional_hint('automatic_call_distributors.form.strategy.hint'), :include_blank => false, :as => :select, :collection => strategies
= f.input :max_callers, :label => t('automatic_call_distributors.form.max_callers.label'), :hint => conditional_hint('automatic_call_distributors.form.max_callers.hint')
= f.input :agent_timeout, :label => t('automatic_call_distributors.form.agent_timeout.label'), :hint => conditional_hint('automatic_call_distributors.form.agent_timeout.hint')
diff --git a/app/views/automatic_call_distributors/_index_core.html.haml b/app/views/automatic_call_distributors/_index_core.html.haml
index 7f27908..50908f4 100644
--- a/app/views/automatic_call_distributors/_index_core.html.haml
+++ b/app/views/automatic_call_distributors/_index_core.html.haml
@@ -10,9 +10,9 @@
%th= t('automatic_call_distributors.index.phone_numbers')
%th= t('automatic_call_distributors.index.acd_agents')
- - reset_cycle
+
- for automatic_call_distributor in automatic_call_distributors
- %tr{:class => cycle('odd', 'even')}
+ %tr
%td= automatic_call_distributor.name
%td= t("automatic_call_distributors.strategies.#{automatic_call_distributor.strategy}")
%td= automatic_call_distributor.max_callers