To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / projects / index.rhtml @ 442:753f1380d6bc

History | View | Annotate | Download (1.01 KB)

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_overall_activity), { :controller => 'activities', :action => 'index' }%>
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_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
9
</div>
10

    
11
<% if @user_projects %>
12
  
13
  <%= render_my_project_hierarchy(@user_projects)%>
14

    
15
<% end %>
16

    
17
<h2>
18
<%= l("label_project_all") %>
19
</h2>
20

    
21
<%= render_project_table(@projects) %>
22

    
23
<p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
24

    
25

    
26
<% other_formats_links do |f| %>
27
        <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
28
<% end %>
29

    
30
<% html_title(l(:label_project_plural)) -%>