Mercurial > hg > soundsoftware-site
annotate 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 |
rev | line source |
---|---|
chris@1007 | 1 |
chris@1032 | 2 <% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %> |
chris@1010 | 3 <h2><%= l(:label_explore_projects) %></h2> |
chris@1010 | 4 <div class="tags box"> |
chris@1010 | 5 <h3><%=l(:label_project_tags_all)%></h3> |
chris@1010 | 6 <%= render :partial => 'projects/tagcloud' %> |
chris@1010 | 7 </div> |
chris@1021 | 8 <% end %> |
chris@1021 | 9 |
chris@1007 | 10 <div class="splitcontentleft"> |
chris@1032 | 11 <% cache(:action => 'explore', :action_suffix => 'busy_institutions', :expires_in => 1.hour) do %> |
chris@1010 | 12 <div class="institutions box"> |
chris@1010 | 13 <h3><%=l(:label_institutions_busy)%></h3> |
chris@1010 | 14 <%= render :partial => 'activities/busy_institution' %> |
chris@1010 | 15 </div> |
chris@1021 | 16 <% end %> |
chris@1007 | 17 <div class="projects box"> |
chris@1007 | 18 <h3><%=l(:label_project_latest)%></h3> |
chris@1007 | 19 <%= render :partial => 'projects/latest' %> |
chris@1007 | 20 </div> |
chris@1007 | 21 </div> |
chris@1010 | 22 <div class="splitcontentright"> |
chris@1032 | 23 <% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %> |
chris@1007 | 24 <div class="projects box"> |
chris@1007 | 25 <h3><%=l(:label_projects_busy)%></h3> |
chris@1007 | 26 <%= render :partial => 'activities/busy' %> |
chris@1009 | 27 </div> |
chris@1021 | 28 <% end %> |
chris@1007 | 29 </div> |