comparison app/views/projects/explore.html.erb @ 1189:3e874cee63af cannam

Layout adjustments to explore boxes
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 22 Jan 2013 15:45:11 +0000
parents af23bcbbd911
children d67ed1030451
comparison
equal deleted inserted replaced
1188:703784e12455 1189:3e874cee63af
13 <div class="splitcontentleft"> 13 <div class="splitcontentleft">
14 <% cache(:action => 'explore', :action_suffix => 'busy_institutions', :expires_in => 1.hour) do %> 14 <% cache(:action => 'explore', :action_suffix => 'busy_institutions', :expires_in => 1.hour) do %>
15 <div class="institutions box"> 15 <div class="institutions box">
16 <h3><%=l(:label_institutions_busy)%></h3> 16 <h3><%=l(:label_institutions_busy)%></h3>
17 <%= render :partial => 'activities/busy_institution' %> 17 <%= render :partial => 'activities/busy_institution' %>
18 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
18 </div> 19 </div>
19 <% end %> 20 <% end %>
20 <div class="projects box"> 21 <div class="projects box">
21 <h3><%=l(:label_project_latest)%></h3> 22 <h3><%=l(:label_project_latest)%></h3>
22 <%= render :partial => 'projects/latest' %> 23 <%= render :partial => 'projects/latest' %>
24 <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
23 </div> 25 </div>
24 </div> 26 </div>
25 <div class="splitcontentright"> 27 <div class="splitcontentright">
26 <% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %> 28 <% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %>
27 <div class="projects box"> 29 <div class="projects box">
28 <h3><%=l(:label_projects_busy)%></h3> 30 <h3><%=l(:label_projects_busy)%></h3>
29 <%= render :partial => 'activities/busy' %> 31 <%= render :partial => 'activities/busy' %>
32 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
30 </div> 33 </div>
31 <% end %> 34 <% end %>
32 </div> 35 </div>