2009-02-01 21:53:08 +01:00
|
|
|
- title "Administration"
|
|
|
|
|
|
|
|
%p
|
2009-03-22 13:42:37 +01:00
|
|
|
%i Hier kannst Du die Gruppen und Benutzerinnen der Foodsoft verwalten.
|
2009-02-01 21:53:08 +01:00
|
|
|
.left_column{:style => "width:48%"}
|
|
|
|
.box_title
|
2009-03-22 13:42:37 +01:00
|
|
|
%h2 Neuste Benutzerinnen
|
2009-02-01 21:53:08 +01:00
|
|
|
.column_content
|
|
|
|
%table
|
|
|
|
%tr
|
2009-03-22 13:42:37 +01:00
|
|
|
%th Benutzername
|
2009-02-01 21:53:08 +01:00
|
|
|
%th Name
|
|
|
|
%th Erstellt am
|
|
|
|
- for user in @users
|
|
|
|
%tr{:class => cycle('even','odd', :name => 'users')}
|
|
|
|
%td= link_to user.nick, [:admin, user]
|
2009-02-02 16:35:43 +01:00
|
|
|
%td=h user.name
|
2009-02-01 21:53:08 +01:00
|
|
|
%td= format_date(user.created_on)
|
|
|
|
%br/
|
|
|
|
= link_to 'Alle Benutzerinnen', admin_users_path
|
|
|
|
|
|
|
|
|
= link_to "Neue Benutzerin", new_admin_user_path
|
|
|
|
|
|
|
|
.right_column{:style => "width:48%"}
|
|
|
|
.box_title
|
|
|
|
%h2 Neuste Gruppen
|
|
|
|
.column_content
|
|
|
|
%table
|
|
|
|
%tr
|
2009-03-22 13:42:37 +01:00
|
|
|
%th Gruppenname
|
2009-02-01 21:53:08 +01:00
|
|
|
%th Typ
|
|
|
|
%th Mitglieder
|
|
|
|
- for group in @groups
|
|
|
|
%tr{:class => cycle('even','odd', :name => 'groups')}
|
|
|
|
%td= link_to group.name, [:admin, group]
|
2012-09-30 21:15:55 +02:00
|
|
|
%td= group.class.model_name.human
|
2009-02-01 21:53:08 +01:00
|
|
|
%td= group.users.size
|
|
|
|
%br/
|
|
|
|
= link_to 'Alle Bestellgruppen', admin_ordergroups_path
|
|
|
|
|
|
|
|
|
= link_to "Neue Bestellgruppe", new_admin_ordergroup_path
|
|
|
|
|
|
|
|
|
= link_to 'Alle Arbeitsgruppen', admin_workgroups_path
|
|
|
|
|
|
|
|
|
= link_to "Neue Arbeitsgruppe", new_admin_workgroup_path
|