comparison app/views/projects/.svn/text-base/index.rhtml.svn-base @ 0:513646585e45

* Import Redmine trunk SVN rev 3859
author Chris Cannam
date Fri, 23 Jul 2010 15:52:44 +0100
parents
children 40f7cfd4df19
comparison
equal deleted inserted replaced
-1:000000000000 0:513646585e45
1 <% content_for :header_tags do %>
2 <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
3 <% end %>
4
5 <div class="contextual">
6 <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
7 <%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
8 <%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
9 <%= link_to l(:label_overall_activity), { :controller => 'projects', :action => 'activity' }%>
10 </div>
11
12 <h2><%=l(:label_project_plural)%></h2>
13
14 <%= render_project_hierarchy(@projects)%>
15
16 <% if User.current.logged? %>
17 <p style="text-align:right;">
18 <span class="my-project"><%= l(:label_my_projects) %></span>
19 </p>
20 <% end %>
21
22 <% other_formats_links do |f| %>
23 <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
24 <% end %>
25
26 <% html_title(l(:label_project_plural)) -%>