Lodging link added

This commit is contained in:
Harry30897 2018-01-19 00:08:50 +05:30
parent 83bdcc969c
commit 0a5d294a90
3 changed files with 10 additions and 3 deletions

View file

@ -91,6 +91,7 @@
max-height: 200px; max-height: 200px;
} }
} }
} }
#sponsors { #sponsors {

View file

@ -34,6 +34,10 @@ body {
margin: 0 auto; margin: 0 auto;
} }
.linkcolor {
color: black;
}
/* centered columns styles */ /* centered columns styles */
.row-centered { .row-centered {
text-align:center; text-align:center;

View file

@ -13,10 +13,10 @@
- unless lodging.picture? - unless lodging.picture?
%p.text-center %p.text-center
- if lodging.website_link.present? - if lodging.website_link.present?
= link_to(lodging.website_link, :style => 'color:inherit') do = link_to(lodging.website_link) do
%i.fa.fa-home.fa-5x %i.fa.fa-home.fa-5x.linkcolor
- else - else
%i.fa.fa-home.fa-5x %i.fa.fa-home.fa-5x.linkcolor
- else - else
- if lodging.website_link.present? - if lodging.website_link.present?
= link_to(lodging.website_link, class: 'thumbnail') do = link_to(lodging.website_link, class: 'thumbnail') do
@ -37,3 +37,5 @@
.row .row
.col-md-12.text-right .col-md-12.text-right
= link_to 'Add Lodging', new_admin_conference_lodging_path(@conference.short_title), class: 'btn btn-primary' = link_to 'Add Lodging', new_admin_conference_lodging_path(@conference.short_title), class: 'btn btn-primary'