summaryrefslogtreecommitdiff
path: root/app/views/page/index.de.html.haml
blob: a3ca83bb0423320d02c2735300653c61c7c7dd37 (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 Aktueller Mandant
  - if current_user && current_user.current_tenant
    %strong= current_user.current_tenant
  - else
    %strong= "(none)"

%div
  %h3 Aktuelle Gruppenzugehörigkeiten
  %ul
    - (current_user.try(:user_groups) || []).each do |group|
      %li
        %strong= "#{group.name}"
        = "(aus Mandant: %s)" % group.tenant