summaryrefslogtreecommitdiff
path: root/app/views/tenants/_admin_area.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-16 21:46:37 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-16 21:46:37 +0100
commit9ffaaeeb42b364f2c7d9b7d17a272c530f546c83 (patch)
treecfee663037bca1258075ab387f8cf0438efbb14e /app/views/tenants/_admin_area.html.haml
parenta74efe4bb1b5afeaf892d18ba2e7969ed17b4099 (diff)
Refactoring and adding user_groups to tenant#show #105
Diffstat (limited to 'app/views/tenants/_admin_area.html.haml')
-rw-r--r--app/views/tenants/_admin_area.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/tenants/_admin_area.html.haml b/app/views/tenants/_admin_area.html.haml
index 65810e7..7136f1e 100644
--- a/app/views/tenants/_admin_area.html.haml
+++ b/app/views/tenants/_admin_area.html.haml
@@ -29,6 +29,10 @@
%h2 Admin Area
= render :partial => 'tenants/sip_accounts_and_phones', :locals => {:tenant => @tenant}
+- if @tenant.user_groups.any?
+ %h2 Groups
+ = render "user_groups/index_core", :user_groups => @tenant.user_groups
+
%h2 Features
= render :partial => 'tenants/table_of_functions', :locals => {:tenant => @tenant}