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 @ 768:0829e808ec49

History | View | Annotate | Download (1.75 KB)

1 739:b7ac21913927 luis
<% content_for :header_tags do %>
2
    <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
3
<% end %>
4 768:0829e808ec49 luis
<%= javascript_include_tag 'projects_index', :plugin => 'redmine_tags' %>
5
6 739:b7ac21913927 luis
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') if User.current.allowed_to?(:add_project, nil, :global => true) %>
10
</div>
11
12 755:bde9c5bfb559 luis
13
14
<div style="clear:both;"></div>
15
<% if User.current.logged? %>
16
  <%= render :partial => 'my_projects' %>
17
<% end %>
18
19
20
<div style="clear:both;"></div>
21 759:7d58183fd14c luis
<% form_tag(:controller => :projects, :action => :index, :method => :get, :id => :project_filtering) do %>
22 768:0829e808ec49 luis
  <fieldset id="filters" class="collapsible collapsed">
23 739:b7ac21913927 luis
    <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
24 768:0829e808ec49 luis
    <div style="display: none;">
25 739:b7ac21913927 luis
    <div>
26
      <p class='q'>
27
        <%= label_tag 'q', l('project_filtering_q_label') %>
28
        <%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %>
29
      </p>
30 754:51d6290d3027 luis
31
      <div id='filter_tags'>
32
        <%= render :partial => 'filter_tags' %>
33
      </div>
34 755:bde9c5bfb559 luis
35
      <p class='buttons'><%= submit_tag( l('button_filter'), :id => 'filter_button') -%></p>
36 739:b7ac21913927 luis
    </div>
37
  </fieldset>
38
<% end %>
39
40
<div style="clear:both;"></div>
41
<h2>
42
  <%= l("label_project_all") %>
43
</h2>
44
45 755:bde9c5bfb559 luis
<div id="projects">
46
  <%= render :partial => 'filtered_projects' %>
47
</div>
48 739:b7ac21913927 luis
49
<p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
50
51
52
<% other_formats_links do |f| %>
53
        <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
54
<% end %>
55
56
<% html_title(l(:label_project_plural)) -%>