2010-06-19 21:44:59 +04:00
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
|
|
|
|
<% end %>
|
|
|
|
|
2008-03-11 22:33:38 +03:00
|
|
|
<div class="contextual">
|
2010-09-07 19:00:27 +04: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 15:08:47 +03:00
|
|
|
<%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
|
2010-06-20 20:29:12 +04:00
|
|
|
<%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
|
2011-10-26 02:48:43 +04:00
|
|
|
<%= link_to(l(:label_news_view_all), { :controller => 'news' }) + ' |' if User.current.allowed_to?(:view_news, nil, :global => true) %>
|
2010-08-27 18:05:54 +04:00
|
|
|
<%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
|
2008-03-11 22:33:38 +03:00
|
|
|
</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)) -%>
|