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 @ 784:4b46e861a43a

History | View | Annotate | Download (1.98 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 784:4b46e861a43a chris
<h2>
21
  <%= l("label_project_all") %>
22
</h2>
23
24
<div style="clear:both;"></div>
25 779:06a9d1cf5e15 luis
<% form_remote_tag(:controller => :projects, :action => :index, :method => :get, :id => :project_filtering) do %>
26 776:af852d82b00b luis
27 777:facded821cee luis
<% if @filter_status=="true" %>
28 776:af852d82b00b luis
<fieldset id="filters_fieldset" class="collapsible">
29
  <legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend>
30
<% else %>
31
  <fieldset id="filters_fieldset" class="collapsible collapsed">
32
    <legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend>
33
      <div style="display: none;">
34
<% end %>
35 739:b7ac21913927 luis
    <div>
36
      <p class='q'>
37
        <%= label_tag 'q', l('project_filtering_q_label') %>
38
        <%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %>
39
      </p>
40 754:51d6290d3027 luis
41
      <div id='filter_tags'>
42 778:c118d3389088 luis
        <%= render :partial => 'filter_search_tags' %>
43 754:51d6290d3027 luis
      </div>
44 755:bde9c5bfb559 luis
45
      <p class='buttons'><%= submit_tag( l('button_filter'), :id => 'filter_button') -%></p>
46 739:b7ac21913927 luis
    </div>
47
  </fieldset>
48
<% end %>
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)) -%>