Indicate if spalshpage is marked as public or not.

This commit is contained in:
Tyrant Davis 2018-08-06 11:02:00 -05:00 committed by James Mason
parent 7127834263
commit d3ce401cba
3 changed files with 10 additions and 0 deletions

View file

@ -49,6 +49,10 @@
- if can? :destroy, @splashpage
= link_to 'Delete', admin_conference_splashpage_path,
method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger'
- if @conference.splashpage && @conference.splashpage.public
%p.text-muted#publicorprivate Public
- else
%p.text-muted#publicorprivate Private
- else
.row
.col-md-12.text-right