remove caching the footer due to localization issues
This commit is contained in:
parent
f5ad03f5d9
commit
ced2c18da1
1 changed files with 11 additions and 12 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue