annotate app/views/projects/explore.html.erb @ 1501:467282ce64a4 cannam

Add varied-mature-projects Featured box
author Chris Cannam
date Fri, 21 Mar 2014 13:03:27 +0000
parents f1fb4091d7f3
children fae089e1f1a3
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@1213 40 <div class="threecolumnmid">
Chris@1501 41 <% cache(:action => 'explore', :action_suffix => 'mature_projects') do %>
Chris@1501 42 <div class="projects box">
Chris@1501 43 <h3><%=l(:label_projects_mature)%></h3>
Chris@1501 44 <%= render :partial => 'projects/mature' %>
Chris@1501 45 <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
Chris@1501 46 </div>
Chris@1501 47 <% end %>
Chris@1501 48 </div>
Chris@1501 49
Chris@1501 50 <div class="threecolumnright">
Chris@1347 51 <% cache(:action => 'explore', :action_suffix => 'busy_projects') do %>
chris@1007 52 <div class="projects box">
chris@1007 53 <h3><%=l(:label_projects_busy)%></h3>
chris@1007 54 <%= render :partial => 'activities/busy' %>
chris@1189 55 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
chris@1009 56 </div>
chris@1021 57 <% end %>
chris@1007 58 </div>
chris@1213 59
chris@1213 60 <% html_title(l(:label_explore_projects)) -%>