Changes to effect Issue2707
Adding a paragraph telling if there is no upcoming conference, and also hiding add to event calendar button if there is no conference.
This commit is contained in:
parent
fd01351a92
commit
8264cee099
1 changed files with 9 additions and 6 deletions
|
|
@ -5,6 +5,8 @@
|
||||||
%h2 Upcoming Conferences
|
%h2 Upcoming Conferences
|
||||||
- @current.each do |conference|
|
- @current.each do |conference|
|
||||||
= render '/conferences/conference_details', conference: conference
|
= render '/conferences/conference_details', conference: conference
|
||||||
|
- if @current.empty?
|
||||||
|
%h4 No Upcoming Conference Scheduled
|
||||||
- if @antiquated and @antiquated.any?
|
- if @antiquated and @antiquated.any?
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
|
|
@ -18,6 +20,7 @@
|
||||||
#antiquated.collapse
|
#antiquated.collapse
|
||||||
- @antiquated.each do |conference|
|
- @antiquated.each do |conference|
|
||||||
= render '/conferences/conference_details', conference: conference
|
= render '/conferences/conference_details', conference: conference
|
||||||
|
- if !@current.empty?
|
||||||
%p
|
%p
|
||||||
Add the events to your calendar:
|
Add the events to your calendar:
|
||||||
%span.btn-group
|
%span.btn-group
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue