summaryrefslogtreecommitdiff
path: root/app/views/tenants/_table_of_functions.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/tenants/_table_of_functions.html.haml')
-rw-r--r--app/views/tenants/_table_of_functions.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/tenants/_table_of_functions.html.haml b/app/views/tenants/_table_of_functions.html.haml
index ef2a2d0..75b2332 100644
--- a/app/views/tenants/_table_of_functions.html.haml
+++ b/app/views/tenants/_table_of_functions.html.haml
@@ -1,4 +1,4 @@
-- cache([I18n.locale, tenant, tenant.callthroughs.count, tenant.callthroughs.order(:updated_at).last, tenant.conferences.count, tenant.conferences.order(:updated_at).last, tenant.hunt_groups.count, tenant.hunt_groups.order(:updated_at).last, tenant.automatic_call_distributors.count, tenant.automatic_call_distributors.order(:updated_at).last]) do
+- cache(['table_of_pbx_features', I18n.locale, tenant, tenant.callthroughs.count, tenant.callthroughs.order(:updated_at).last, tenant.conferences.count, tenant.conferences.order(:updated_at).last, tenant.hunt_groups.count, tenant.hunt_groups.order(:updated_at).last, tenant.automatic_call_distributors.count, tenant.automatic_call_distributors.order(:updated_at).last]) do
%table
%tr{:class => 'even'}
%th
@@ -6,7 +6,7 @@
%th
Anzahl
%th
- - cache([I18n.locale, tenant, tenant.callthroughs.count, tenant.callthroughs.order(:updated_at).last]) do
+ - cache(['table_of_pbx_features_callthroughs_row', I18n.locale, tenant, tenant.callthroughs.count, tenant.callthroughs.order(:updated_at).last]) do
%tr{:class => 'odd'}
%td
= t("callthroughs.name")
@@ -17,7 +17,7 @@
= '-'
%td
= render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => Callthrough}
- - cache([I18n.locale, tenant, tenant.conferences.count, tenant.conferences.order(:updated_at).last]) do
+ - cache(['table_of_pbx_features_conferences_row', I18n.locale, tenant, tenant.conferences.count, tenant.conferences.order(:updated_at).last]) do
%tr{:class => 'even'}
%td
= t("conferences.name")
@@ -28,7 +28,7 @@
= '-'
%td
= render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => Conference}
- - cache([I18n.locale, tenant, tenant.hunt_groups.count, tenant.hunt_groups.order(:updated_at).last]) do
+ - cache(['table_of_pbx_features_hunt_groups_row', I18n.locale, tenant, tenant.hunt_groups.count, tenant.hunt_groups.order(:updated_at).last]) do
%tr{:class => 'odd'}
%td
= t("hunt_groups.name")
@@ -39,7 +39,7 @@
= '-'
%td
= render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => HuntGroup}
- - cache([I18n.locale, tenant, tenant.automatic_call_distributors.count, tenant.automatic_call_distributors.order(:updated_at).last]) do
+ - cache(['table_of_pbx_features_automatic_call_distributors_row', I18n.locale, tenant, tenant.automatic_call_distributors.count, tenant.automatic_call_distributors.order(:updated_at).last]) do
%tr{:class => 'even'}
%td
= t("automatic_call_distributors.name")