remove caching the footer due to localization issues

This commit is contained in:
zhitomirskiyi 2011-01-27 14:17:50 -08:00
parent f5ad03f5d9
commit ced2c18da1

View file

@ -89,18 +89,17 @@
.clearfix .clearfix
/=render :partial => 'layouts/debug.haml' /=render :partial => 'layouts/debug.haml'
- cache(:footer) do %footer
%footer .container
.container %ul#footer_nav
%ul#footer_nav %li= link_to '@joindiaspora', "http://twitter.com/joindiaspora"
%li= link_to '@joindiaspora', "http://twitter.com/joindiaspora" %li= link_to 'github', "https://github.com/diaspora/diaspora"
%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.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('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'
%li= link_to t('.whats_new'), 'https://github.com/diaspora/diaspora/wiki/Changelog' = image_tag 'powered_by_diaspora.png', :height => "11px", :width => "145px"
= image_tag 'powered_by_diaspora.png', :height => "11px", :width => "145px" %br
%br = link_to t('.have_a_problem'), 'http://diaspora.shapado.com/'
= link_to t('.have_a_problem'), 'http://diaspora.shapado.com/'
-if !@landing_page && request.url.match(/joindiaspora.com/) -if !@landing_page && request.url.match(/joindiaspora.com/)
:javascript :javascript