blob: 178074d71ee327e2ac7239a2f7364c53fd36f227 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
- content_for :title, "Gemeinschaft #{GsParameter.get('GEMEINSCHAFT_VERSION')}"
%div
%h3 Current tenant
- if current_user && current_user.current_tenant
%strong= current_user.current_tenant
- else
%strong= "(none)"
%div
%h3 Current user groups
%ul
- (current_user.try(:user_groups) || []).each do |group|
%li
%strong= "#{group.name}"
= "(from tenant: %s)" % group.tenant
|