keynote type available only to admins. Able to mark as highlight. Highlights and Keynotes scoped.

This commit is contained in:
Stella Rouzi 2014-11-28 14:47:39 +02:00
parent 6a62e9f8b9
commit 8ac11821fa
3 changed files with 4 additions and 16 deletions

View file

@ -27,10 +27,10 @@
%h3.text-center
Don't miss out!
%br
- if @conference.highlights.any?
- if @conference.events.highlights.any?
.row
.col-md-12
- @conference.highlights.each_slice(2) do |slice|
- @conference.events.highlights.each_slice(2) do |slice|
.row.row-centered
- slice.each do |event|
.col-md-6.col-centered.col-top.highlights