From 83bdcc969ce863b735b359150b3cbb90d963a49a Mon Sep 17 00:00:00 2001 From: Harry30897 Date: Thu, 4 Jan 2018 23:26:36 +0530 Subject: [PATCH] Lodging Links add --- app/views/admin/lodgings/index.html.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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