From 1333641a5fb382a8e598f8be3300d0cbd6201c32 Mon Sep 17 00:00:00 2001 From: Tyrant Davis Date: Tue, 7 Aug 2018 14:44:32 -0500 Subject: [PATCH] Change css id #publicorprivate to a class id. Upate splashpages/show.html.haml --- app/assets/stylesheets/osem-splash.scss | 2 +- app/views/admin/splashpages/show.html.haml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/osem-splash.scss b/app/assets/stylesheets/osem-splash.scss index bba69916..ce0418d6 100644 --- a/app/assets/stylesheets/osem-splash.scss +++ b/app/assets/stylesheets/osem-splash.scss @@ -175,6 +175,6 @@ } } -#publicorprivate { +.publicorprivate { padding-top: 30px; } diff --git a/app/views/admin/splashpages/show.html.haml b/app/views/admin/splashpages/show.html.haml index 52d84ab0..4184e1bd 100644 --- a/app/views/admin/splashpages/show.html.haml +++ b/app/views/admin/splashpages/show.html.haml @@ -50,9 +50,9 @@ = 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 + %p.text-muted.publicorprivate Public - else - %p.text-muted#publicorprivate Private + %p.text-muted.publicorprivate Private - else .row .col-md-12.text-right