2014-11-25 10:47:18 +01:00
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
.page-header
|
|
|
|
|
%h1 Splashpage
|
|
|
|
|
%p.text-muted
|
2014-12-08 18:08:21 +02:00
|
|
|
Build a
|
2014-11-25 10:47:18 +01:00
|
|
|
= link_to "splash page", conference_path(@conference.short_title)
|
|
|
|
|
with all the information for your conference
|
2014-08-30 12:08:24 +02:00
|
|
|
- if @splashpage
|
|
|
|
|
.row
|
|
|
|
|
.col-md-8
|
|
|
|
|
%dl.dl-horizontal
|
|
|
|
|
%dt
|
2017-04-05 19:18:17 +03:00
|
|
|
Include Tracks:
|
2014-08-30 12:08:24 +02:00
|
|
|
%dd
|
2017-04-05 19:18:17 +03:00
|
|
|
- if @splashpage.include_tracks
|
2014-08-30 12:08:24 +02:00
|
|
|
Yes
|
|
|
|
|
- else
|
|
|
|
|
No
|
|
|
|
|
%dt
|
2017-04-05 19:18:17 +03:00
|
|
|
Include Program:
|
2014-08-30 12:08:24 +02:00
|
|
|
%dd
|
2017-04-05 19:18:17 +03:00
|
|
|
- if @splashpage.include_program
|
2014-08-30 12:08:24 +02:00
|
|
|
Yes
|
|
|
|
|
- else
|
|
|
|
|
No
|
|
|
|
|
%dt
|
2017-04-05 19:18:17 +03:00
|
|
|
Include CFP:
|
2014-08-30 12:08:24 +02:00
|
|
|
%dd
|
2017-04-05 19:18:17 +03:00
|
|
|
- if @splashpage.include_cfp
|
2014-08-30 12:08:24 +02:00
|
|
|
Yes
|
|
|
|
|
- else
|
|
|
|
|
No
|
|
|
|
|
%dt
|
2017-04-05 19:18:17 +03:00
|
|
|
Include Venue:
|
2014-08-30 12:08:24 +02:00
|
|
|
%dd
|
2017-04-05 19:18:17 +03:00
|
|
|
-if @splashpage.include_venue
|
2014-08-30 12:08:24 +02:00
|
|
|
Yes
|
2017-04-05 19:18:17 +03:00
|
|
|
-else
|
2014-08-30 12:08:24 +02:00
|
|
|
No
|
|
|
|
|
%dt
|
2017-04-05 19:18:17 +03:00
|
|
|
Include Registrations:
|
2014-08-30 12:08:24 +02:00
|
|
|
%dd
|
2017-04-05 19:18:17 +03:00
|
|
|
- if @splashpage.include_registrations
|
2014-08-30 12:08:24 +02:00
|
|
|
Yes
|
|
|
|
|
- else
|
|
|
|
|
No
|
2014-12-08 18:08:21 +02:00
|
|
|
%dt
|
2017-04-05 19:18:17 +03:00
|
|
|
Include Tickets:
|
2014-12-08 18:08:21 +02:00
|
|
|
%dd
|
2017-04-05 19:18:17 +03:00
|
|
|
- if @splashpage.include_tickets
|
2014-12-08 18:08:21 +02:00
|
|
|
Yes
|
|
|
|
|
- else
|
|
|
|
|
No
|
2014-08-30 12:08:24 +02:00
|
|
|
%dt
|
2017-04-05 19:18:17 +03:00
|
|
|
Include Lodgins
|
2014-08-30 12:08:24 +02:00
|
|
|
%dd
|
2017-04-05 19:18:17 +03:00
|
|
|
-if @splashpage.include_lodgings
|
2014-08-30 12:08:24 +02:00
|
|
|
Yes
|
2017-04-05 19:18:17 +03:00
|
|
|
-else
|
2014-08-30 12:08:24 +02:00
|
|
|
No
|
2017-03-30 07:00:55 +05:30
|
|
|
%dt
|
2017-04-05 19:18:17 +03:00
|
|
|
Include Sponsors:
|
2017-03-30 07:00:55 +05:30
|
|
|
%dd
|
2017-04-05 19:18:17 +03:00
|
|
|
- if @splashpage.include_sponsors
|
2017-03-30 07:00:55 +05:30
|
|
|
Yes
|
|
|
|
|
- else
|
|
|
|
|
No
|
|
|
|
|
%dt
|
2017-04-05 19:18:17 +03:00
|
|
|
Include Social Media:
|
2017-03-30 07:00:55 +05:30
|
|
|
%dd
|
2017-04-05 19:18:17 +03:00
|
|
|
- if @splashpage.include_social_media
|
2017-03-30 07:00:55 +05:30
|
|
|
Yes
|
|
|
|
|
- else
|
|
|
|
|
No
|
2014-08-30 12:08:24 +02:00
|
|
|
%dt
|
|
|
|
|
Public
|
|
|
|
|
%dd
|
|
|
|
|
- if @splashpage.public
|
|
|
|
|
Yes
|
|
|
|
|
- else
|
|
|
|
|
No
|
2014-11-25 10:47:18 +01:00
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
- if can? :update, @splashpage
|
|
|
|
|
= link_to 'Edit', edit_admin_conference_splashpage_path, class: 'btn btn-primary'
|
|
|
|
|
- if can? :destroy, @splashpage
|
|
|
|
|
= link_to 'Delete', admin_conference_splashpage_path,
|
|
|
|
|
method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger'
|
2014-08-30 12:08:24 +02:00
|
|
|
- else
|
2014-11-25 10:47:18 +01:00
|
|
|
.row
|
|
|
|
|
.col-md-12.text-right
|
2017-07-04 05:55:41 +05:30
|
|
|
- if can? :create, @conference.build_splashpage
|
2014-11-25 10:47:18 +01:00
|
|
|
= link_to 'Create Splashpage', new_admin_conference_splashpage_path, class: 'btn btn-primary'
|