mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 14:11:10 +00:00
add highlights and fix cfp in splashpage
This commit is contained in:
parent
8e25338436
commit
ecfc348ea8
17 changed files with 111 additions and 32 deletions
|
|
@ -25,6 +25,19 @@
|
|||
- @event_types.each do |type|
|
||||
%li= link_to type.title, admin_conference_event_path(@conference.short_title, @event, :event_type_id => type.id) ,
|
||||
:method => :put, :event_type_id => type.id
|
||||
%tr
|
||||
%td
|
||||
%b Highlight
|
||||
%td
|
||||
= link_to "#{@event.is_highlight}".capitalize,
|
||||
admin_conference_event_path(@conference.short_title,
|
||||
@event,
|
||||
is_highlight: !@event.is_highlight),
|
||||
method: :put, is_highlight: !@event.is_highlight
|
||||
- if @event.is_highlight
|
||||
(the event is as a highlight and will appear in the splashpage)
|
||||
- else
|
||||
(mark as true to make the event a highlight that appears in the splashpage)
|
||||
%tr
|
||||
%td
|
||||
%b State
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue