annotate 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
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@1193 5 <div class="contextual">
chris@1193 6 <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
chris@1193 7 </div>
chris@1193 8
chris@1194 9 <h2><%= l(:label_explore_projects) %></h2>
chris@1194 10
chris@1213 11 <div class="threecolumnleft">
chris@1032 12 <% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %>
chris@1010 13 <div class="tags box">
chris@1010 14 <h3><%=l(:label_project_tags_all)%></h3>
chris@1010 15 <%= render :partial => 'projects/tagcloud' %>
chris@1010 16 </div>
chris@1021 17 <% end %>
chris@1213 18 </div>
chris@1021 19
chris@1213 20 <div class="threecolumnright">
chris@1213 21 <% cache(:action => 'explore', :action_suffix => 'mature_projects', :expires_in => 1.hour) do %>
chris@1213 22 <div class="projects box">
chris@1213 23 <h3><%=l(:label_projects_mature)%></h3>
chris@1213 24 <%= render :partial => 'projects/mature' %>
chris@1213 25 </div>
chris@1213 26 <% end %>
chris@1213 27 </div>
chris@1213 28
chris@1213 29 <div class="threecolumnleft">
chris@1032 30 <% cache(:action => 'explore', :action_suffix => 'busy_institutions', :expires_in => 1.hour) do %>
chris@1010 31 <div class="institutions box">
chris@1010 32 <h3><%=l(:label_institutions_busy)%></h3>
chris@1010 33 <%= render :partial => 'activities/busy_institution' %>
chris@1189 34 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
chris@1010 35 </div>
chris@1021 36 <% end %>
chris@1213 37 </div>
chris@1213 38
chris@1213 39 <div class="threecolumnright">
chris@1007 40 <div class="projects box">
chris@1007 41 <h3><%=l(:label_project_latest)%></h3>
chris@1007 42 <%= render :partial => 'projects/latest' %>
chris@1189 43 <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
chris@1007 44 </div>
chris@1007 45 </div>
chris@1213 46
chris@1213 47 <div class="threecolumnmid">
chris@1032 48 <% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %>
chris@1007 49 <div class="projects box">
chris@1007 50 <h3><%=l(:label_projects_busy)%></h3>
chris@1007 51 <%= render :partial => 'activities/busy' %>
chris@1189 52 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
chris@1009 53 </div>
chris@1021 54 <% end %>
chris@1007 55 </div>
chris@1213 56
chris@1213 57 <% html_title(l(:label_explore_projects)) -%>