view 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
line wrap: on
line source
<% content_for :header_tags do %>
    <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %>
<% end %>

<% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %>
<h2><%= l(:label_explore_projects) %></h2>
  <div class="tags box">
  <h3><%=l(:label_project_tags_all)%></h3>
    <%= render :partial => 'projects/tagcloud' %>
  </div>
<% end %>

<div class="splitcontentleft">
  <% cache(:action => 'explore', :action_suffix => 'busy_institutions', :expires_in => 1.hour) do %>
  <div class="institutions box">
  <h3><%=l(:label_institutions_busy)%></h3>
    <%= render :partial => 'activities/busy_institution' %>
    <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
  </div>
  <% end %>
  <div class="projects box">
  <h3><%=l(:label_project_latest)%></h3>
    <%= render :partial => 'projects/latest' %>
    <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
  </div>
</div>
<div class="splitcontentright">
  <% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %>
  <div class="projects box">
  <h3><%=l(:label_projects_busy)%></h3>
    <%= render :partial => 'activities/busy' %>
    <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
  </div>
  <% end %>
</div>