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 @ 1239:e726dca6f7bd

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

    
10
<h2>
11
<%= l("label_project_all") %>
12
</h2>
13

    
14
<%= render_project_table(@projects) %>
15

    
16
<p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
17

    
18

    
19
<% other_formats_links do |f| %>
20
  <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
21
<% end %>
22

    
23
<% content_for :sidebar do %>
24
  <%= form_tag({}, :method => :get) do %>
25
    <h3><%= l(:label_project_plural) %></h3>
26
    <label for="closed"><%= check_box_tag 'closed', 1, params[:closed] %> <%= l(:label_show_closed_projects) %></label>
27
    <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
28
  <% end %>
29
<% end %>
30

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