blob: 9621395d42bd624e3151fb76edf859e4bcde5e4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
- title "Gemeinschaft #{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
|