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 / plugins / redmine_tags / app / views / projects / index.html.erb @ 1264:bc7baaca92a9

History | View | Annotate | Download (1.31 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 1264:bc7baaca92a9 luis
6 768:0829e808ec49 luis
<%= javascript_include_tag 'projects_index', :plugin => 'redmine_tags' %>
7
8 739:b7ac21913927 luis
<div class="contextual">
9
    <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
10 1235:775d89567f41 chris
    <%= ('| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add')).html_safe if User.current.allowed_to?(:add_project, nil, :global => true) %>
11 739:b7ac21913927 luis
</div>
12
13 755:bde9c5bfb559 luis
<div style="clear:both;"></div>
14 784:4b46e861a43a chris
<h2>
15
  <%= l("label_project_all") %>
16
</h2>
17
18
<div style="clear:both;"></div>
19 776:af852d82b00b luis
20 1260:b18f581b260a luis
<%= form_tag :projects, :method => :get do -%>
21
  <div>
22 1264:bc7baaca92a9 luis
    <p class='q'>
23
      <%= label_tag 'search', l('project_filtering_q_label') %>
24
      <%= text_field_tag 'search', params[:search] -%>
25
    </p>
26
27 1260:b18f581b260a luis
    <div id='filter_tags'>
28
      <%= render :partial => 'filter_search_tags' -%>
29
    </div>
30 789:863f447c4d88 chris
31 1264:bc7baaca92a9 luis
    <%= submit_tag :search, :name => "Search" %>
32 805:0b1b94ffb30f luis
33 1260:b18f581b260a luis
  </div>
34 1252:fe3777d42b76 luis
<%- end -%>
35 789:863f447c4d88 chris
36 755:bde9c5bfb559 luis
<div id="projects">
37
  <%= render :partial => 'filtered_projects' %>
38
</div>
39 739:b7ac21913927 luis
40
<% other_formats_links do |f| %>
41
        <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
42
<% end %>
43
44
<% html_title(l(:label_project_plural)) -%>