diff options
author | elijah <elijah@riseup.net> | 2015-07-14 13:58:56 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-07-14 13:58:56 -0700 |
commit | d2f1703e30319f7fc1f4c1a084d5b0363536d935 (patch) | |
tree | 9163e6ddff896d9257bdc1b3f9ad65fcfcb1296f /app/views | |
parent | e41f1a7bf3ce3c71e9fb3691c45121747c2ad306 (diff) |
fix footer css when the locale links are visible
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/_footer.html.haml | 26 |
1 files changed, 14 insertions, 12 deletions
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 |