view app/views/projects/explore.html.erb @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 17305097e652
children f9a81a1a4425
line wrap: on
line source
<% content_for :header_tags do %>
    <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %>
<% end %>

<div class="contextual">
    <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
</div>

<h2><%= l(:label_explore_projects) %></h2>

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

<div class="threecolumnright">
  <% cache(:action => 'explore', :action_suffix => 'mature_projects', :expires_in => 1.hour) do %>
  <div class="projects box">
  <h3><%=l(:label_projects_mature)%></h3>
    <%= render :partial => 'projects/mature' %>
  </div>
  <% end %>
</div>

<div class="threecolumnleft">
  <% 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>

<div class="threecolumnright">
  <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="threecolumnmid">
  <% 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>

<% html_title(l(:label_explore_projects)) -%>