summaryrefslogtreecommitdiff
path: root/app/views/tenants/_table_of_functions.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-21 20:18:16 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 00:02:50 +0100
commit18ed88c7e3c789366f6e5443dc4ee0bc981a4b88 (patch)
tree847f179022a2c69c1b641fcb2aa474f168877649 /app/views/tenants/_table_of_functions.html.haml
parent495bbfdf78206c8adaec057e83900dda6754092c (diff)
Started the migration to Twitter Bootstrap.
Diffstat (limited to 'app/views/tenants/_table_of_functions.html.haml')
-rw-r--r--app/views/tenants/_table_of_functions.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/tenants/_table_of_functions.html.haml b/app/views/tenants/_table_of_functions.html.haml
index 957687b..271bf1e 100644
--- a/app/views/tenants/_table_of_functions.html.haml
+++ b/app/views/tenants/_table_of_functions.html.haml
@@ -1,13 +1,13 @@
- cache(['table_of_pbx_features', I18n.locale, tenant, tenant.callthroughs.count, tenant.callthroughs.reorder(:updated_at).last, tenant.conferences.count, tenant.conferences.reorder(:updated_at).last, tenant.hunt_groups.count, tenant.hunt_groups.reorder(:updated_at).last, tenant.automatic_call_distributors.count, tenant.automatic_call_distributors.reorder(:updated_at).last]) do
- %table
- %tr{:class => 'even'}
+ %table{:class => 'table table-striped'}
+ %tr
%th
Funktion
%th
Anzahl
%th
- cache(['table_of_pbx_features_callthroughs_row', I18n.locale, tenant, tenant.callthroughs.count, tenant.callthroughs.reorder(:updated_at).last]) do
- %tr{:class => 'odd'}
+ %tr
%td
= t("callthroughs.name")
%td
@@ -18,7 +18,7 @@
%td
= render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => Callthrough}
- cache(['table_of_pbx_features_conferences_row', I18n.locale, tenant, tenant.conferences.count, tenant.conferences.reorder(:updated_at).last]) do
- %tr{:class => 'even'}
+ %tr
%td
= t("conferences.name")
%td
@@ -29,7 +29,7 @@
%td
= render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => Conference}
- cache(['table_of_pbx_features_hunt_groups_row', I18n.locale, tenant, tenant.hunt_groups.count, tenant.hunt_groups.reorder(:updated_at).last]) do
- %tr{:class => 'odd'}
+ %tr
%td
= t("hunt_groups.name")
%td
@@ -40,7 +40,7 @@
%td
= render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => HuntGroup}
- cache(['table_of_pbx_features_automatic_call_distributors_row', I18n.locale, tenant, tenant.automatic_call_distributors.count, tenant.automatic_call_distributors.reorder(:updated_at).last]) do
- %tr{:class => 'even'}
+ %tr
%td
= t("automatic_call_distributors.name")
%td