summaryrefslogtreecommitdiff
path: root/app/views/tenants/_admin_area.de.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/tenants/_admin_area.de.html.haml')
-rw-r--r--app/views/tenants/_admin_area.de.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/tenants/_admin_area.de.html.haml b/app/views/tenants/_admin_area.de.html.haml
index b9b47d5..d125e58 100644
--- a/app/views/tenants/_admin_area.de.html.haml
+++ b/app/views/tenants/_admin_area.de.html.haml
@@ -102,10 +102,10 @@
= render "phone_books/index_core", :phone_books => @tenant.phone_books
= render :partial => 'shared/create_link', :locals => {:parent => @tenant, :child_class => PhoneBook}
-- if STRICT_INTERNAL_EXTENSION_HANDLING == true
+- if GsParameter.get('STRICT_INTERNAL_EXTENSION_HANDLING') == true
%h3= t('phone_number_ranges.index.page_title')
- - if @tenant.created_at > (Time.now - 15.minutes) && Delayed::Job.count > 0 && @tenant.phone_number_ranges.find_by_name(INTERNAL_EXTENSIONS).try(:phone_numbers).try(:count).to_i == 0
+ - if @tenant.created_at > (Time.now - 15.minutes) && Delayed::Job.count > 0 && @tenant.phone_number_ranges.find_by_name(GsParameter.get('INTERNAL_EXTENSIONS')).try(:phone_numbers).try(:count).to_i == 0
Der Mandant
= "\"#{@tenant}\""
wurde erst vor
@@ -114,5 +114,5 @@
= pluralize(Delayed::Job.count, 'Hintergrundprozesse')
\. Bitte warten Sie noch ein paar Minuten und laden anschließend diese Seite erneut.
- else
- =render 'phone_number_ranges/index_core', :phone_number_ranges => (@tenant.phone_number_ranges + @tenant.country.phone_number_ranges.where(:name => SERVICE_NUMBERS))
+ =render 'phone_number_ranges/index_core', :phone_number_ranges => (@tenant.phone_number_ranges + @tenant.country.phone_number_ranges.where(:name => GsParameter.get('SERVICE_NUMBERS')))
=render :partial => 'shared/create_link', :locals => {:parent => @tenant, :child_class => PhoneNumberRange}