mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 22:21:11 +00:00
fix admin/registrations#update
This commit is contained in:
parent
a1ac27fa58
commit
6bcecbd219
4 changed files with 15 additions and 9 deletions
|
|
@ -27,10 +27,11 @@
|
|||
%td
|
||||
= registration.id
|
||||
%td
|
||||
= registration.name
|
||||
- registration.user.roles.each do |role|
|
||||
- if role.resource == @conference
|
||||
%span.label.label-info= role.name.titleize
|
||||
= registration.name.present? ? registration.name : registration.username
|
||||
%br
|
||||
- registration.user.roles.where(resource: @conference).each do |role|
|
||||
%span.label.label-info
|
||||
= role.name.titleize
|
||||
%td
|
||||
= registration.email
|
||||
%td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue