diff --git a/app/views/admin/lodgings/index.html.haml b/app/views/admin/lodgings/index.html.haml index c2e011f9..c7a8066a 100644 --- a/app/views/admin/lodgings/index.html.haml +++ b/app/views/admin/lodgings/index.html.haml @@ -12,7 +12,11 @@ .thumbnail - unless lodging.picture? %p.text-center - %i.fa.fa-home.fa-5x + - if lodging.website_link.present? + = link_to(lodging.website_link, :style => 'color:inherit') do + %i.fa.fa-home.fa-5x + - else + %i.fa.fa-home.fa-5x - else - if lodging.website_link.present? = link_to(lodging.website_link, class: 'thumbnail') do