mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
fixes
This commit is contained in:
parent
1cbf78df3d
commit
aeb28833f1
8 changed files with 39 additions and 30 deletions
|
|
@ -40,9 +40,9 @@
|
|||
%td
|
||||
= user.registrations.where(attended: true).count
|
||||
%td
|
||||
- unless user.show_roles.blank?
|
||||
= user.show_roles.first(2).map { |x| x[0].titleize + ' ' + x[1] }.join ', '
|
||||
- if user.show_roles.count > 2
|
||||
- unless user.get_roles.blank?
|
||||
= show_roles(user.get_roles.first(2))
|
||||
- if user.get_roles.count > 2
|
||||
= '...'
|
||||
- if can? :show, user
|
||||
%td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue