@@ -1,33 +1,31 | |||
|
1 | 1 | <% content_for :header_tags do %> |
|
2 | 2 | <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %> |
|
3 | 3 | <% end %> |
|
4 | 4 | |
|
5 | 5 | <div class="contextual"> |
|
6 | <%= render_project_action_links %> | |
|
6 | <%= form_tag({}, :method => :get) do %> | |
|
7 | <label for="closed"> | |
|
8 | <%= check_box_tag 'closed', 1, params[:closed], :onchange => "this.form.submit();" %> | |
|
9 | <%= l(:label_show_closed_projects) %> | |
|
10 | </label> | |
|
11 | <% end %> | |
|
12 | <%= render_project_action_links %> | |
|
7 | 13 | </div> |
|
8 | 14 | |
|
9 | 15 | <h2><%= l(:label_project_plural) %></h2> |
|
10 | 16 | |
|
11 | 17 | <div id="projects-index"> |
|
12 | 18 | <%= render_project_hierarchy(@projects) %> |
|
13 | 19 | </div> |
|
14 | 20 | |
|
15 | 21 | <% if User.current.logged? %> |
|
16 | 22 | <p style="text-align:right;"> |
|
17 | 23 | <span class="icon icon-fav my-project"><%= l(:label_my_projects) %></span> |
|
18 | 24 | </p> |
|
19 | 25 | <% end %> |
|
20 | 26 | |
|
21 | 27 | <% other_formats_links do |f| %> |
|
22 | 28 | <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %> |
|
23 | 29 | <% end %> |
|
24 | 30 | |
|
25 | <% content_for :sidebar do %> | |
|
26 | <%= form_tag({}, :method => :get) do %> | |
|
27 | <h3><%= l(:label_project_plural) %></h3> | |
|
28 | <label for="closed"><%= check_box_tag 'closed', 1, params[:closed] %> <%= l(:label_show_closed_projects) %></label> | |
|
29 | <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p> | |
|
30 | <% end %> | |
|
31 | <% end %> | |
|
32 | ||
|
33 | 31 | <% html_title(l(:label_project_plural)) -%> |
General Comments 0
You need to be logged in to leave comments.
Login now