is_current method added to check an event is current and function addded to refresh conference_wide_information
This commit is contained in:
parent
35afdcead4
commit
febd3451ad
8 changed files with 74 additions and 2 deletions
9
app/views/admin/conference/_current_events.html.haml
Normal file
9
app/views/admin/conference/_current_events.html.haml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
.text-center
|
||||
%h2 Upcoming Events
|
||||
- @current_events.each do |event|
|
||||
%div
|
||||
%h3
|
||||
= link_to event.title, conference_program_proposal_path(@conference.short_title, event.id)
|
||||
%h4
|
||||
presented by
|
||||
= event.speaker_names
|
||||
Loading…
Add table
Add a link
Reference in a new issue