From ced2c18da101225f9f0524d904f427a7b2568a5e Mon Sep 17 00:00:00 2001 From: zhitomirskiyi <ilya@joindiaspora.com> Date: Thu, 27 Jan 2011 14:17:50 -0800 Subject: [PATCH] remove caching the footer due to localization issues --- app/views/layouts/application.html.haml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index dc973d6f1c..44abd7cdfb 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -89,18 +89,17 @@ .clearfix /=render :partial => 'layouts/debug.haml' - - cache(:footer) do - %footer - .container - %ul#footer_nav - %li= link_to '@joindiaspora', "http://twitter.com/joindiaspora" - %li= link_to 'github', "https://github.com/diaspora/diaspora" - %li= link_to t('layouts.header.blog'), "http://blog.joindiaspora.com" - %li= link_to t('layouts.header.code'), "#{root_url.chomp('/')}/source.tar.gz" unless request.url.match(/joindiaspora.com/) - %li= link_to t('.whats_new'), 'https://github.com/diaspora/diaspora/wiki/Changelog' - = image_tag 'powered_by_diaspora.png', :height => "11px", :width => "145px" - %br - = link_to t('.have_a_problem'), 'http://diaspora.shapado.com/' + %footer + .container + %ul#footer_nav + %li= link_to '@joindiaspora', "http://twitter.com/joindiaspora" + %li= link_to 'github', "https://github.com/diaspora/diaspora" + %li= link_to t('layouts.header.blog'), "http://blog.joindiaspora.com" + %li= link_to t('layouts.header.code'), "#{root_url.chomp('/')}/source.tar.gz" unless request.url.match(/joindiaspora.com/) + %li= link_to t('.whats_new'), 'https://github.com/diaspora/diaspora/wiki/Changelog' + = image_tag 'powered_by_diaspora.png', :height => "11px", :width => "145px" + %br + = link_to t('.have_a_problem'), 'http://diaspora.shapado.com/' -if !@landing_page && request.url.match(/joindiaspora.com/) :javascript -- GitLab