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 @ 809:7429d10cc491

History | View | Annotate | Download (2.28 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 806:a42dcc01dfee chris
    <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %>
4 739:b7ac21913927 luis
<% end %>
5 768:0829e808ec49 luis
<%= javascript_include_tag 'projects_index', :plugin => 'redmine_tags' %>
6
7 739:b7ac21913927 luis
8
<div class="contextual">
9
    <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
10
    <%= '| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
11
</div>
12
13 755:bde9c5bfb559 luis
14
15
<div style="clear:both;"></div>
16
<% if User.current.logged? %>
17
  <%= render :partial => 'my_projects' %>
18
<% end %>
19
20
<div style="clear:both;"></div>
21 784:4b46e861a43a chris
<h2>
22
  <%= l("label_project_all") %>
23
</h2>
24
25
<div style="clear:both;"></div>
26 805:0b1b94ffb30f luis
  <%- form_remote_tag(:controller => :projects, :action => :index, :method => :get, :html => {:id => :project_filtering_form}) do -%>
27 776:af852d82b00b luis
28 805:0b1b94ffb30f luis
    <% if @filter_status=="true" %>
29
      <fieldset id="filters_fieldset" class="collapsible">
30
      <legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend>
31
    <%- else -%>
32
      <fieldset id="filters_fieldset" class="collapsible collapsed">
33
      <legend onclick="toggleFieldsetWithState(this);"><%= l(:label_filter_plural) %></legend>
34 776:af852d82b00b luis
      <div style="display: none;">
35 805:0b1b94ffb30f luis
    <%- end -%>
36 789:863f447c4d88 chris
37 805:0b1b94ffb30f luis
  <div>
38
    <div id='filter_tags'>
39
      <%= render :partial => 'filter_search_tags' -%>
40
    </div>
41
42
    <p class='q'>
43
      <%= label_tag 'q', l('project_filtering_q_label') %>
44
      <%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %>
45
    </p>
46
47
    <p style="display: none;"><%= submit_tag( l('button_filter'), :id => 'submitButton') -%></p>
48
    <%= link_to l(:button_apply), {}, :onclick => "$('submitButton').click(); return false;", :class => 'icon icon-checked' -%>
49
    <%= link_to l(:button_clear), {}, :class => 'icon icon-reload'  %>
50
  </div>
51
52
    <% unless @filter_status=="true" %>
53 789:863f447c4d88 chris
      </div>
54 805:0b1b94ffb30f luis
    <%- end -%>
55 789:863f447c4d88 chris
56 754:51d6290d3027 luis
57 805:0b1b94ffb30f luis
<%- end -%>
58
</fieldset>
59 739:b7ac21913927 luis
60 755:bde9c5bfb559 luis
<div id="projects">
61
  <%= render :partial => 'filtered_projects' %>
62
</div>
63 739:b7ac21913927 luis
64 801:c8aec937ea53 luis
65 739:b7ac21913927 luis
66
67
<% other_formats_links do |f| %>
68
        <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
69
<% end %>
70
71
<% html_title(l(:label_project_plural)) -%>