Mercurial > hg > soundsoftware-site
comparison app/views/projects/explore.html.erb @ 1194:6676c0284df2 feature_564
Add "mature projects" box. This isn't good enough on its own, it's just a test -- we need this to inform other relationships
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 22 Jan 2013 17:03:50 +0000 |
parents | d67ed1030451 |
children | 17305097e652 |
comparison
equal
deleted
inserted
replaced
1193:d67ed1030451 | 1194:6676c0284df2 |
---|---|
4 | 4 |
5 <div class="contextual"> | 5 <div class="contextual"> |
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) %> | 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) %> |
7 </div> | 7 </div> |
8 | 8 |
9 <h2><%= l(:label_explore_projects) %></h2> | |
10 | |
9 <% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %> | 11 <% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %> |
10 | |
11 <h2><%= l(:label_explore_projects) %></h2> | |
12 <div class="tags box"> | 12 <div class="tags box"> |
13 <h3><%=l(:label_project_tags_all)%></h3> | 13 <h3><%=l(:label_project_tags_all)%></h3> |
14 <%= render :partial => 'projects/tagcloud' %> | 14 <%= render :partial => 'projects/tagcloud' %> |
15 </div> | 15 </div> |
16 <% end %> | 16 <% end %> |
35 <h3><%=l(:label_projects_busy)%></h3> | 35 <h3><%=l(:label_projects_busy)%></h3> |
36 <%= render :partial => 'activities/busy' %> | 36 <%= render :partial => 'activities/busy' %> |
37 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %> | 37 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %> |
38 </div> | 38 </div> |
39 <% end %> | 39 <% end %> |
40 <% cache(:action => 'explore', :action_suffix => 'mature_projects', :expires_in => 1.hour) do %> | |
41 <div class="projects box"> | |
42 <h3><%=l(:label_projects_mature)%></h3> | |
43 <%= render :partial => 'projects/mature' %> | |
44 </div> | |
45 <% end %> | |
40 </div> | 46 </div> |