Introduces New Installation Page
If there are no users signed up and no conferences we show a page informing people what they need to do.
This commit is contained in:
parent
7fd7090867
commit
0f5181ccf4
3 changed files with 29 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
|||
%h2 Upcoming Conferences
|
||||
- @current.each do |conference|
|
||||
= render '/conferences/conference_details', conference: conference
|
||||
-if @antiquated and @antiquated.any?
|
||||
- if @antiquated and @antiquated.any?
|
||||
.row
|
||||
.col-md-12
|
||||
%p.text-right
|
||||
|
|
@ -18,6 +18,8 @@
|
|||
#antiquated.collapse
|
||||
- @antiquated.each do |conference|
|
||||
= render '/conferences/conference_details', conference: conference
|
||||
- if @antiquated.empty? && @current.empty? && User.empty?
|
||||
= render partial: 'new_install'
|
||||
|
||||
-content_for :script_body do
|
||||
:javascript
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue