2008-03-11 22:33:38 +03:00
|
|
|
<div class="contextual">
|
2009-05-17 16:59:14 +04:00
|
|
|
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
|
2009-11-14 15:08:47 +03:00
|
|
|
<%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
|
2008-03-11 22:33:38 +03:00
|
|
|
<%= link_to l(:label_overall_activity), { :controller => 'projects', :action => 'activity' }%>
|
|
|
|
</div>
|
|
|
|
|
2007-04-21 20:40:56 +04:00
|
|
|
<h2><%=l(:label_project_plural)%></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2009-01-24 14:31:15 +03:00
|
|
|
<%= render_project_hierarchy(@projects)%>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-08-29 20:52:35 +04:00
|
|
|
<% if User.current.logged? %>
|
2008-05-27 20:49:18 +04:00
|
|
|
<p style="text-align:right;">
|
2009-01-24 14:31:15 +03:00
|
|
|
<span class="my-project"><%= l(:label_my_projects) %></span>
|
2008-05-27 20:49:18 +04:00
|
|
|
</p>
|
2007-04-21 20:40:56 +04:00
|
|
|
<% end %>
|
2007-12-07 21:42:40 +03:00
|
|
|
|
2009-01-29 16:53:17 +03:00
|
|
|
<% other_formats_links do |f| %>
|
|
|
|
<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
|
|
|
|
<% end %>
|
2008-05-27 20:49:18 +04:00
|
|
|
|
2008-01-03 01:41:53 +03:00
|
|
|
<% html_title(l(:label_project_plural)) -%>
|