Chris@1464: <% content_for :header_tags do %>
Chris@1464: <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
Chris@1464: <% end %>
Chris@1464:
Chris@1464:
Chris@1464: <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
Chris@1464: <%= link_to(l(:label_issue_view_all), issues_path) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
Chris@1464: <%= link_to(l(:label_overall_spent_time), time_entries_path) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
Chris@1464: <%= link_to l(:label_overall_activity),
Chris@1464: { :controller => 'activities', :action => 'index',
Chris@1464: :id => nil } %>
Chris@1464:
Chris@1464:
Chris@1464: <%= l(:label_project_plural) %>
Chris@1464:
Chris@1464:
Chris@1464: <%= render_project_hierarchy(@projects) %>
Chris@1464:
Chris@1464:
Chris@1464: <% if User.current.logged? %>
Chris@1464:
Chris@1464: <%= l(:label_my_projects) %>
Chris@1464:
Chris@1464: <% end %>
Chris@1464:
Chris@1464: <% other_formats_links do |f| %>
Chris@1464: <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
Chris@1464: <% end %>
Chris@1464:
Chris@1464: <% content_for :sidebar do %>
Chris@1464: <%= form_tag({}, :method => :get) do %>
Chris@1464: <%= l(:label_project_plural) %>
Chris@1464:
Chris@1464: <%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %>
Chris@1464: <% end %>
Chris@1464: <% end %>
Chris@1464:
Chris@1464: <% html_title(l(:label_project_plural)) -%>