blob: 818e584a29a17942c8a9f571c1f82cb3aa1a66d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
- content_for :title, @tenant.name
%table.table.table-striped
%tbody
%tr
%td
%strong= t('tenants.show.name') + ":"
%td= @tenant.name
- if !@tenant.description.blank?
%tr
%td
%strong= t('tenants.show.description') + ":"
%td= @tenant.description
= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @tenant }
- if @tenant.user_groups.where(:name => 'Admins').any? && @tenant.user_groups.where(:name => 'Admins').first.users.include?(current_user)
= render :partial => 'admin_area', :locals => { :tenant => @tenant, :gateways => @gateways}
|