summaryrefslogtreecommitdiff
path: root/app/views/tenants/_admin_area.html.haml
blob: 50ed372aca298c0976f346b9e8a66368ec607b9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
= render :partial => 'tenants/sip_accounts_and_phones', :locals => {:tenant => @tenant}

= render :partial => 'users_table', :locals => {:tenant => @tenant}

= render :partial => 'user_groups_table', :locals => {:tenant => @tenant}

%h2 Features
= render :partial => 'tenants/table_of_functions', :locals => {:tenant => @tenant}

= render :partial => 'tenants/table_of_phone_books', :locals => {:tenant => @tenant}

%h2 Gemeinschaft Configuration
= render :partial => 'tenants/gs_parameter_table', :locals => {:tenant => @tenant}

%p
  This system can setup 
  = PhoneModel.count
  different phone models from the manufacturers 
  - Manufacturer.all.each do |manufacturer|
    - if manufacturer != Manufacturer.last && manufacturer != Manufacturer.limit(Manufacturer.count - 1).last
      = succeed ', ' do
        =link_to manufacturer, manufacturer_path(manufacturer)
    - elsif manufacturer == Manufacturer.limit(Manufacturer.count - 1).last
      = succeed ' and ' do
        =link_to manufacturer, manufacturer_path(manufacturer)
    - else
      = succeed '.' do
        =link_to manufacturer, manufacturer_path(manufacturer)