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 / plugins / redmine_tags / app / views / projects / index.html.erb @ 1259:94a6e3687c45

History | View | Annotate | Download (1.47 KB)

1
<% content_for :header_tags do %>
2
    <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
3
    <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %>
4
<% end %>
5
<%= javascript_include_tag 'projects_index', :plugin => 'redmine_tags' %>
6

    
7
<div class="contextual">
8
    <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
9
    <%= ('| ' + 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) %>
10
</div>
11

    
12
<div style="clear:both;"></div>
13
<h2>
14
  <%= l("label_project_all") %>
15
</h2>
16

    
17
<div style="clear:both;"></div>
18

    
19
  <%= form_tag :projects, :method => :get do -%>
20
    <fieldset id="filters_fieldset" class="collapsible">
21
      <legend><%= l(:label_filter_plural) %></legend>
22

    
23
      <div>
24
        <div id='filter_tags'>
25
          <%= render :partial => 'filter_search_tags' -%>
26
        </div>
27

    
28
        <p class='q'>
29
          <%= label_tag 'search', l('project_filtering_q_label') %>
30
          <%= text_field_tag 'search', params[:search] -%>
31
          <%= submit_tag :search, :name => nil %>
32
        </p>
33

    
34
      </div>
35

    
36
    </fieldset>
37
<%- end -%>
38

    
39

    
40
<div id="projects">
41
  <%= render :partial => 'filtered_projects' %>
42
</div>
43

    
44
<% other_formats_links do |f| %>
45
        <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
46
<% end %>
47

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