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