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;
}
}
}
#sponsors {

View file

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

View file

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