annotate app/views/projects/explore.html.erb @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents fae089e1f1a3
children 83a2227efc71
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@1302 6 <%= link_to l(:label_project_all), { :controller => 'projects', :action => 'index' }%>
chris@1322 7 <%= ('| ' + link_to(l(:label_search_projects), { :controller => 'search', :action => 'index', :projects => 1 })).html_safe %>
Chris@1303 8 <%= ('| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add')).html_safe if User.current.allowed_to?(:add_project, nil, :global => true) %>
chris@1193 9 </div>
chris@1193 10
chris@1194 11 <h2><%= l(:label_explore_projects) %></h2>
chris@1194 12
chris@1213 13 <div class="threecolumnleft">
Chris@1347 14 <% cache(:action => 'explore', :action_suffix => 'tags') do %>
chris@1010 15 <div class="tags box">
chris@1010 16 <h3><%=l(:label_project_tags_all)%></h3>
chris@1010 17 <%= render :partial => 'projects/tagcloud' %>
chris@1010 18 </div>
chris@1021 19 <% end %>
chris@1213 20 </div>
chris@1021 21
chris@1213 22 <div class="threecolumnright">
chris@1213 23 <div class="projects box">
chris@1322 24 <h3><%=l(:label_project_latest)%></h3>
chris@1322 25 <%= render :partial => 'projects/latest' %>
chris@1322 26 <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
chris@1213 27 </div>
chris@1213 28 </div>
chris@1213 29
chris@1213 30 <div class="threecolumnleft">
Chris@1347 31 <% cache(:action => 'explore', :action_suffix => 'busy_institutions') do %>
chris@1010 32 <div class="institutions box">
chris@1010 33 <h3><%=l(:label_institutions_busy)%></h3>
chris@1010 34 <%= render :partial => 'activities/busy_institution' %>
chris@1189 35 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
chris@1010 36 </div>
chris@1021 37 <% end %>
chris@1213 38 </div>
chris@1213 39
Chris@1509 40 <div class="threecolumnright">
Chris@1509 41 <% cache(:action => 'explore', :action_suffix => 'busy_projects') do %>
Chris@1509 42 <div class="projects box">
Chris@1509 43 <h3><%=l(:label_projects_busy)%></h3>
Chris@1509 44 <%= render :partial => 'activities/busy' %>
Chris@1509 45 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
Chris@1509 46 </div>
Chris@1509 47 <% end %>
Chris@1509 48 </div>
Chris@1509 49
chris@1213 50 <div class="threecolumnmid">
Chris@1501 51 <% cache(:action => 'explore', :action_suffix => 'mature_projects') do %>
Chris@1501 52 <div class="projects box">
Chris@1501 53 <h3><%=l(:label_projects_mature)%></h3>
Chris@1501 54 <%= render :partial => 'projects/mature' %>
Chris@1501 55 <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
Chris@1501 56 </div>
Chris@1501 57 <% end %>
Chris@1501 58 </div>
Chris@1501 59
chris@1213 60 <% html_title(l(:label_explore_projects)) -%>