Mercurial > hg > soundsoftware-site
changeset 1530:83a2227efc71 live
Don't cache the "More" links etc (which may be translated for individual users)
author | Chris Cannam |
---|---|
date | Wed, 08 Oct 2014 14:04:32 +0100 |
parents | 5047f066734d |
children | ae8145b28b2b b31caaed9d4d |
files | app/views/projects/explore.html.erb |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/app/views/projects/explore.html.erb Fri Sep 26 10:18:42 2014 +0100 +++ b/app/views/projects/explore.html.erb Wed Oct 08 14:04:32 2014 +0100 @@ -11,12 +11,12 @@ <h2><%= l(:label_explore_projects) %></h2> <div class="threecolumnleft"> -<% cache(:action => 'explore', :action_suffix => 'tags') do %> <div class="tags box"> <h3><%=l(:label_project_tags_all)%></h3> + <% cache(:action => 'explore', :action_suffix => 'tags') do %> <%= render :partial => 'projects/tagcloud' %> + <% end %> </div> -<% end %> </div> <div class="threecolumnright"> @@ -28,33 +28,33 @@ </div> <div class="threecolumnleft"> - <% cache(:action => 'explore', :action_suffix => 'busy_institutions') do %> <div class="institutions box"> <h3><%=l(:label_institutions_busy)%></h3> + <% cache(:action => 'explore', :action_suffix => 'busy_institutions') do %> <%= render :partial => 'activities/busy_institution' %> - <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %> + <% end %> + <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %> </div> - <% end %> </div> <div class="threecolumnright"> - <% cache(:action => 'explore', :action_suffix => 'busy_projects') do %> <div class="projects box"> <h3><%=l(:label_projects_busy)%></h3> + <% cache(:action => 'explore', :action_suffix => 'busy_projects') do %> <%= render :partial => 'activities/busy' %> + <% end %> <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %> </div> - <% end %> </div> <div class="threecolumnmid"> - <% cache(:action => 'explore', :action_suffix => 'mature_projects') do %> <div class="projects box"> <h3><%=l(:label_projects_mature)%></h3> + <% cache(:action => 'explore', :action_suffix => 'mature_projects') do %> <%= render :partial => 'projects/mature' %> + <% end %> <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %> </div> - <% end %> </div> <% html_title(l(:label_explore_projects)) -%>