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 @ 778:c118d3389088

History | View | Annotate | Download (1.97 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
<div style="clear:both;"></div>
20 759:7d58183fd14c luis
<% form_tag(:controller => :projects, :action => :index, :method => :get, :id => :project_filtering) do %>
21 776:af852d82b00b luis
22 777:facded821cee luis
<% if @filter_status=="true" %>
23 776:af852d82b00b luis
<fieldset id="filters_fieldset" class="collapsible">
24
  <legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend>
25
<% else %>
26
  <fieldset id="filters_fieldset" class="collapsible collapsed">
27
    <legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend>
28
      <div style="display: none;">
29
<% end %>
30 739:b7ac21913927 luis
    <div>
31
      <p class='q'>
32
        <%= label_tag 'q', l('project_filtering_q_label') %>
33
        <%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %>
34
      </p>
35 754:51d6290d3027 luis
36
      <div id='filter_tags'>
37 778:c118d3389088 luis
        <%= render :partial => 'filter_search_tags' %>
38 754:51d6290d3027 luis
      </div>
39 755:bde9c5bfb559 luis
40
      <p class='buttons'><%= submit_tag( l('button_filter'), :id => 'filter_button') -%></p>
41 739:b7ac21913927 luis
    </div>
42
  </fieldset>
43
<% end %>
44
45
<div style="clear:both;"></div>
46
<h2>
47
  <%= l("label_project_all") %>
48
</h2>
49
50 755:bde9c5bfb559 luis
<div id="projects">
51
  <%= render :partial => 'filtered_projects' %>
52
</div>
53 739:b7ac21913927 luis
54
<p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
55
56
57
<% other_formats_links do |f| %>
58
        <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
59
<% end %>
60
61
<% html_title(l(:label_project_plural)) -%>