mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
25 lines
849 B
Text
25 lines
849 B
Text
.row
|
|
.col-md-12.page-header
|
|
%h2
|
|
Registrations to Events
|
|
|
|
.col-md-12
|
|
.well
|
|
%table.datatable#event_registrations
|
|
%thead
|
|
%th ID
|
|
%th Conference
|
|
%th Title
|
|
%th Attended
|
|
%tbody
|
|
- @user.events_registrations.each do |event_registration|
|
|
- event = event_registration.event
|
|
%tr
|
|
%td= event.id
|
|
%td= link_to event.program.conference.short_title, admin_conference_path(event.program.conference.short_title)
|
|
%td= link_to event.title, admin_conference_program_event_path(event.program.conference.short_title, event)
|
|
%td
|
|
- if @user.attended_event?(event)
|
|
%i.fa-solid.fa-check.text-success
|
|
- else
|
|
%i.fa-solid.fa-xmark.text-danger
|