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.html.erb @ 1078:b9e34a051f82

History | View | Annotate | Download (891 Bytes)

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

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

    
14
<% end %>
15

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

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

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

    
24

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

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