mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 04:04:03 +00:00
For the schedule versioning in the admin interface (having multiple possible shcedules) we need to change some models and associations. It has also been create a rake:move_events_attributes task to migrate the data. User Interface addapted to make use of the introduced associations and models
30 lines
742 B
Text
30 lines
742 B
Text
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1
|
|
= @track.name
|
|
Track
|
|
%p.text-muted
|
|
Events in this track
|
|
.row
|
|
.col-md-12
|
|
%table.table.table-hover.datatable
|
|
%thead
|
|
%th Title
|
|
%th Type
|
|
%th Submitter
|
|
%th State
|
|
%th Time
|
|
%tbody
|
|
- @track.events.each_with_index do |event|
|
|
%tr
|
|
%td
|
|
=link_to event.title, admin_conference_program_event_path(@conference.short_title, event)
|
|
%td
|
|
= event.event_type.title
|
|
%td
|
|
=link_to event.submitter.name, admin_user_path(event.submitter)
|
|
%td
|
|
= event.state
|
|
%td
|
|
= event.scheduled_start_time
|