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 / vendor / plugins / redmine_tags / app / views / projects / index.rhtml @ 758:687c9fbca255

History | View | Annotate | Download (1.61 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') if User.current.allowed_to?(:add_project, nil, :global => true) %>
8
</div>
9

    
10

    
11

    
12
<div style="clear:both;"></div>
13
<% if User.current.logged? %>
14
  <%= render :partial => 'my_projects' %>
15
<% end %>
16

    
17

    
18
<div style="clear:both;"></div>
19
<% form_tag('/projects', :method => :get, :id => :project_filtering) do %>
20
  <fieldset id="filters" class="collapsible">
21
    <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
22
    <div>
23
      <p class='q'>
24
        <%= label_tag 'q', l('project_filtering_q_label') %>
25
        <%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %>
26
      </p>
27

    
28
      <div id='filter_tags'>
29
        <%= render :partial => 'filter_tags' %>
30
      </div>
31

    
32
      <p class='buttons'><%= submit_tag( l('button_filter'), :id => 'filter_button') -%></p>                  
33
    </div>
34
  </fieldset>
35
<% end %>
36

    
37
<div style="clear:both;"></div>
38
<h2>
39
  <%= l("label_project_all") %>
40
</h2>
41

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

    
46
<p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
47

    
48

    
49
<% other_formats_links do |f| %>
50
        <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
51
<% end %>
52

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