mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +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
|
|
@ -113,6 +113,9 @@ module Admin
|
|||
if params.has_key? :difficulty_level_id
|
||||
@event.update_attribute(:difficulty_level_id, params[:difficulty_level_id])
|
||||
end
|
||||
if params.has_key? :is_highlight
|
||||
@event.update_attribute(:is_highlight, params[:is_highlight])
|
||||
end
|
||||
|
||||
if @event.submitter.update_attributes!(params[:user]) && @event.
|
||||
update_attributes!(params[:event])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue