annotate 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
rev   line source
chris@1041 1 <% content_for :header_tags do %>
chris@1041 2 <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %>
chris@1041 3 <% end %>
chris@1007 4
chris@1032 5 <% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %>
chris@1010 6 <h2><%= l(:label_explore_projects) %></h2>
chris@1010 7 <div class="tags box">
chris@1010 8 <h3><%=l(:label_project_tags_all)%></h3>
chris@1010 9 <%= render :partial => 'projects/tagcloud' %>
chris@1010 10 </div>
chris@1021 11 <% end %>
chris@1021 12
chris@1007 13 <div class="splitcontentleft">
chris@1032 14 <% cache(:action => 'explore', :action_suffix => 'busy_institutions', :expires_in => 1.hour) do %>
chris@1010 15 <div class="institutions box">
chris@1010 16 <h3><%=l(:label_institutions_busy)%></h3>
chris@1010 17 <%= render :partial => 'activities/busy_institution' %>
chris@1189 18 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
chris@1010 19 </div>
chris@1021 20 <% end %>
chris@1007 21 <div class="projects box">
chris@1007 22 <h3><%=l(:label_project_latest)%></h3>
chris@1007 23 <%= render :partial => 'projects/latest' %>
chris@1189 24 <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
chris@1007 25 </div>
chris@1007 26 </div>
chris@1010 27 <div class="splitcontentright">
chris@1032 28 <% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %>
chris@1007 29 <div class="projects box">
chris@1007 30 <h3><%=l(:label_projects_busy)%></h3>
chris@1007 31 <%= render :partial => 'activities/busy' %>
chris@1189 32 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
chris@1009 33 </div>
chris@1021 34 <% end %>
chris@1007 35 </div>