Revision 1032:ff1556010d8b
| app/views/projects/explore.html.erb | ||
|---|---|---|
| 1 | 1 |
|
| 2 |
<% cache(:action => 'explore', :action_suffix => 'tags') do %> |
|
| 2 |
<% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %>
|
|
| 3 | 3 |
<h2><%= l(:label_explore_projects) %></h2> |
| 4 | 4 |
<div class="tags box"> |
| 5 | 5 |
<h3><%=l(:label_project_tags_all)%></h3> |
| ... | ... | |
| 8 | 8 |
<% end %> |
| 9 | 9 |
|
| 10 | 10 |
<div class="splitcontentleft"> |
| 11 |
<% cache(:action => 'explore', :action_suffix => 'busy_institutions') do %> |
|
| 11 |
<% cache(:action => 'explore', :action_suffix => 'busy_institutions', :expires_in => 1.hour) do %>
|
|
| 12 | 12 |
<div class="institutions box"> |
| 13 | 13 |
<h3><%=l(:label_institutions_busy)%></h3> |
| 14 | 14 |
<%= render :partial => 'activities/busy_institution' %> |
| ... | ... | |
| 20 | 20 |
</div> |
| 21 | 21 |
</div> |
| 22 | 22 |
<div class="splitcontentright"> |
| 23 |
<% cache(:action => 'explore', :action_suffix => 'busy_projects') do %> |
|
| 23 |
<% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %>
|
|
| 24 | 24 |
<div class="projects box"> |
| 25 | 25 |
<h3><%=l(:label_projects_busy)%></h3> |
| 26 | 26 |
<%= render :partial => 'activities/busy' %> |
Also available in: Unified diff