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_overall_activity), { :controller => 'activities', :action => 'index' }%>
|
chris@1139
|
7 <%= ('| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add')).html_safe if User.current.allowed_to?(:add_project, nil, :global => true) %>
|
Chris@0
|
8 </div>
|
Chris@0
|
9
|
chris@124
|
10 <h2>
|
chris@124
|
11 <%= l("label_project_all") %>
|
chris@124
|
12 </h2>
|
chris@124
|
13
|
chris@124
|
14 <%= render_project_table(@projects) %>
|
chris@123
|
15
|
chris@123
|
16 <p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
|
luisf@69
|
17
|
Chris@0
|
18
|
Chris@0
|
19 <% other_formats_links do |f| %>
|
Chris@909
|
20 <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
|
Chris@0
|
21 <% end %>
|
Chris@0
|
22
|
Chris@1115
|
23 <% content_for :sidebar do %>
|
Chris@1115
|
24 <%= form_tag({}, :method => :get) do %>
|
Chris@1115
|
25 <h3><%= l(:label_project_plural) %></h3>
|
Chris@1115
|
26 <label for="closed"><%= check_box_tag 'closed', 1, params[:closed] %> <%= l(:label_show_closed_projects) %></label>
|
Chris@1115
|
27 <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
|
Chris@1115
|
28 <% end %>
|
Chris@1115
|
29 <% end %>
|
Chris@1115
|
30
|
Chris@0
|
31 <% html_title(l(:label_project_plural)) -%>
|