Mercurial > hg > soundsoftware-site
comparison app/views/projects/explore.html.erb @ 1032:ff1556010d8b cannam
Expiry. Wonder whether this works.
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 13 Nov 2012 12:06:19 +0000 |
parents | 967fb7e62b1d |
children | af23bcbbd911 |
comparison
equal
deleted
inserted
replaced
1031:873d052b361b | 1032:ff1556010d8b |
---|---|
1 | 1 |
2 <% cache(:action => 'explore', :action_suffix => 'tags') do %> | 2 <% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %> |
3 <h2><%= l(:label_explore_projects) %></h2> | 3 <h2><%= l(:label_explore_projects) %></h2> |
4 <div class="tags box"> | 4 <div class="tags box"> |
5 <h3><%=l(:label_project_tags_all)%></h3> | 5 <h3><%=l(:label_project_tags_all)%></h3> |
6 <%= render :partial => 'projects/tagcloud' %> | 6 <%= render :partial => 'projects/tagcloud' %> |
7 </div> | 7 </div> |
8 <% end %> | 8 <% end %> |
9 | 9 |
10 <div class="splitcontentleft"> | 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 <div class="institutions box"> | 12 <div class="institutions box"> |
13 <h3><%=l(:label_institutions_busy)%></h3> | 13 <h3><%=l(:label_institutions_busy)%></h3> |
14 <%= render :partial => 'activities/busy_institution' %> | 14 <%= render :partial => 'activities/busy_institution' %> |
15 </div> | 15 </div> |
16 <% end %> | 16 <% end %> |
18 <h3><%=l(:label_project_latest)%></h3> | 18 <h3><%=l(:label_project_latest)%></h3> |
19 <%= render :partial => 'projects/latest' %> | 19 <%= render :partial => 'projects/latest' %> |
20 </div> | 20 </div> |
21 </div> | 21 </div> |
22 <div class="splitcontentright"> | 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 <div class="projects box"> | 24 <div class="projects box"> |
25 <h3><%=l(:label_projects_busy)%></h3> | 25 <h3><%=l(:label_projects_busy)%></h3> |
26 <%= render :partial => 'activities/busy' %> | 26 <%= render :partial => 'activities/busy' %> |
27 </div> | 27 </div> |
28 <% end %> | 28 <% end %> |