annotate app/views/projects/index.rhtml @ 904:0a8317a50fa0
redmine-1.1
Close obsolete branch redmine-1.1
author |
Chris Cannam |
date |
Fri, 14 Jan 2011 12:53:21 +0000 |
parents |
40f7cfd4df19 |
children |
60c0a4e08e09 |
rev |
line source |
Chris@0
|
1 <% content_for :header_tags do %>
|
Chris@0
|
2 <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
|
Chris@0
|
3 <% end %>
|
Chris@0
|
4
|
Chris@0
|
5 <div class="contextual">
|
chris@22
|
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) %>
|
Chris@0
|
7 <%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
|
Chris@0
|
8 <%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
|
chris@22
|
9 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
|
Chris@0
|
10 </div>
|
Chris@0
|
11
|
Chris@0
|
12 <h2><%=l(:label_project_plural)%></h2>
|
Chris@0
|
13
|
Chris@0
|
14 <%= render_project_hierarchy(@projects)%>
|
Chris@0
|
15
|
Chris@0
|
16 <% if User.current.logged? %>
|
Chris@0
|
17 <p style="text-align:right;">
|
Chris@0
|
18 <span class="my-project"><%= l(:label_my_projects) %></span>
|
Chris@0
|
19 </p>
|
Chris@0
|
20 <% end %>
|
Chris@0
|
21
|
Chris@0
|
22 <% other_formats_links do |f| %>
|
Chris@0
|
23 <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
|
Chris@0
|
24 <% end %>
|
Chris@0
|
25
|
Chris@0
|
26 <% html_title(l(:label_project_plural)) -%>
|