# HG changeset patch
# User Chris Cannam
# Date 1412773472 -3600
# Node ID 83a2227efc710fa3c2e5eafeb320802f0ecf7454
# Parent 5047f066734d8d160ce5d395b5a02fa3fd42357e
Don't cache the "More" links etc (which may be translated for individual users)
diff -r 5047f066734d -r 83a2227efc71 app/views/projects/explore.html.erb
--- 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 @@
<%= l(:label_explore_projects) %>
-<% cache(:action => 'explore', :action_suffix => 'tags') do %>
<%=l(:label_project_tags_all)%>
+ <% cache(:action => 'explore', :action_suffix => 'tags') do %>
<%= render :partial => 'projects/tagcloud' %>
+ <% end %>
-<% end %>
@@ -28,33 +28,33 @@
- <% cache(:action => 'explore', :action_suffix => 'busy_institutions') do %>
<%=l(:label_institutions_busy)%>
+ <% 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' %>
- <% end %>
- <% cache(:action => 'explore', :action_suffix => 'busy_projects') do %>
<%=l(:label_projects_busy)%>
+ <% 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' %>
- <% end %>
- <% cache(:action => 'explore', :action_suffix => 'mature_projects') do %>
<%=l(:label_projects_mature)%>
+ <% cache(:action => 'explore', :action_suffix => 'mature_projects') do %>
<%= render :partial => 'projects/mature' %>
+ <% end %>
<%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
- <% end %>
<% html_title(l(:label_explore_projects)) -%>