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 @ 912:5e80956cc792

History | View | Annotate | Download (891 Bytes)

1 0:513646585e45 Chris
<% 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 22:40f7cfd4df19 chris
    <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
7 100:1412841d48a3 Chris
    <%= '| ' + 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 0:513646585e45 Chris
</div>
9
10 123:605adf7e1735 chris
<% if @user_projects %>
11 69:dc22c3eb3c81 luisf
12 123:605adf7e1735 chris
  <%= render_my_project_hierarchy(@user_projects)%>
13 0:513646585e45 Chris
14 69:dc22c3eb3c81 luisf
<% end %>
15 0:513646585e45 Chris
16 124:bc91f2025d05 chris
<h2>
17
<%= l("label_project_all") %>
18
</h2>
19
20
<%= render_project_table(@projects) %>
21 123:605adf7e1735 chris
22
<p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
23 69:dc22c3eb3c81 luisf
24 0:513646585e45 Chris
25
<% other_formats_links do |f| %>
26 909:cbb26bc654de Chris
  <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
27 0:513646585e45 Chris
<% end %>
28
29
<% html_title(l(:label_project_plural)) -%>