[temp] Add no events happening now in splashpage
This commit is contained in:
parent
f260139b2d
commit
322a5b40bc
2 changed files with 11 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ class SchedulesController < ApplicationController
|
|||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.json { render json: @events_schedules.as_json(root: false, include: :event) }
|
||||
format.json { render json: @events_schedules.to_json(root: false, include: :event) }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,11 @@
|
|||
|
||||
-# happening now events
|
||||
- if @conference.splashpage.include_happening_now
|
||||
= 'test'
|
||||
.row
|
||||
.col-md-12
|
||||
#happening_now_panel
|
||||
%h3.text-center There are no events happening now.
|
||||
|
||||
-# calls for content, or program
|
||||
- if @conference.splashpage.include_cfp
|
||||
= render 'call_for_content', conference: @conference,
|
||||
|
|
@ -103,4 +107,9 @@
|
|||
var renderTemplate = function(data) {
|
||||
console.log(data);
|
||||
console.log("template rendered");
|
||||
|
||||
for (key in data) {
|
||||
event_schedule = data[key];
|
||||
console.log(event_schedule['event']);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue