Use New Install within their own template

It used to be a partial inside #index, but having their own page
yields some extra benefits:

- Performance: Move logic from the view to the controller
  - Theres' no need to go extra steps inside the :index view
- UI: Remove the extra 'Upcoming Conferences' when the system needs
  to start the flow of the creation of the first user
This commit is contained in:
Espartaco Palma 2019-07-18 02:24:25 -07:00 committed by Henne Vogelsang
parent ab0ff0ff03
commit e7452a9d31
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
3 changed files with 4 additions and 3 deletions

View file

@ -1,21 +0,0 @@
.row
.col-md-12
.well
%h1
Welcome to your new
= link_to('https://osem.io') do
Open Source Event Manager
installation!
%p
The first user to
- if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
= link_to(new_ichain_registration_path('user')) do
sign up
- else
= link_to(new_registration_path('user')) do
sign up
will the be administrator of it.
%p
We hope you enjoy using OSEM, if you have any question don't hesitate to
= link_to('http://osem.io/#contact') do
contact us!