From d2f1703e30319f7fc1f4c1a084d5b0363536d935 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 14 Jul 2015 13:58:56 -0700 Subject: fix footer css when the locale links are visible --- app/views/layouts/_footer.html.haml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'app/views') diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml index f502ddb..58f0551 100644 --- a/app/views/layouts/_footer.html.haml +++ b/app/views/layouts/_footer.html.haml @@ -1,13 +1,15 @@ - if CommonLanguages.available.size > 1 - .locales - = locales_links -.full-height - = link_to icon('home') + t(:home), home_path - = link_to icon('eye-close') + t(:privacy_policy), privacy_policy_path - = link_to icon('file') + t(:terms_of_service), terms_of_service_path - - if lookup_context.exists?('pages/about') - = link_to icon('info-sign') + t(:about), about_path - - if lookup_context.exists?('pages/contact') - = link_to icon('comment') + t(:contact), contact_path - - if paid_service_level? - = link_to icon('shopping-cart') + t(:pricing), pricing_path + .locales.row + .wrap-text + = locales_links +.links.row + .wrap-text + = link_to icon('home') + t(:home), home_path + = link_to icon('eye-close') + t(:privacy_policy), privacy_policy_path + = link_to icon('file') + t(:terms_of_service), terms_of_service_path + - if lookup_context.exists?('pages/about') + = link_to icon('info-sign') + t(:about), about_path + - if lookup_context.exists?('pages/contact') + = link_to icon('comment') + t(:contact), contact_path + - if paid_service_level? + = link_to icon('shopping-cart') + t(:pricing), pricing_path -- cgit v1.2.3