Indicate if spalshpage is marked as public or not.
This commit is contained in:
parent
7127834263
commit
d3ce401cba
3 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue