Revision 1264:bc7baaca92a9 plugins

View differences:

plugins/redmine_tags/app/views/projects/_filter_search_tags.html.erb
1 1
<div>
2
  <p id="project_tags"><%= text_field_tag 'tag_search', params[:tag_search] -%>
2
  <p id="project_tags">
3
    <%= label_tag 'tag_search', l(:tags_search).html_safe -%>
4
    <%= text_field_tag 'tag_search', params[:tag_search] -%>
3 5
    <br />
4
    <em class="info"><%= l(:text_tags_info).html_safe %></em>
5 6
  </p>
6 7

  
7 8
  <div id="project_tag_candidates" class="autocomplete" style="margin-top: 0;"></div>
plugins/redmine_tags/app/views/projects/index.html.erb
2 2
    <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
3 3
    <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %>
4 4
<% end %>
5

  
5 6
<%= javascript_include_tag 'projects_index', :plugin => 'redmine_tags' %>
6 7

  
7 8
<div class="contextual">
......
18 19

  
19 20
<%= form_tag :projects, :method => :get do -%>
20 21
  <div>
22
    <p class='q'>
23
      <%= label_tag 'search', l('project_filtering_q_label') %>
24
      <%= text_field_tag 'search', params[:search] -%>
25
    </p>
26

  
21 27
    <div id='filter_tags'>
22 28
      <%= render :partial => 'filter_search_tags' -%>
23 29
    </div>
24 30

  
25
    <p class='q'>
26
      <%= label_tag 'search', l('project_filtering_q_label') %>
27
      <%= text_field_tag 'search', params[:search] -%>
28
      <%= submit_tag :search, :name => nil %>
29
    </p>
31
    <%= submit_tag :search, :name => "Search" %>
30 32

  
31 33
  </div>
32 34
<%- end -%>
plugins/redmine_tags/config/locales/en.yml
28 28
  issues_show_count: Display amount of issues
29 29
  issues_open_only: Display open issues only
30 30
  issues_sort_by: Sort tags by
31
  
31

  
32 32
  issue_tags_sidebar_none: None
33 33
  issue_tags_sidebar_list: List
34 34
  issue_tags_sidebar_cloud: Cloud
......
40 40

  
41 41
  auto_complete_new_tag: Add new...
42 42

  
43
  project_filtering_q_label: "Search for text:"
43
  project_filtering_q_label: "Filter by name:"
44 44
  project_filter_no_results: "No matching projects found"
45 45
  button_filter: "Filter"
46
  
47
  text_tags_info: "A tag can be any text you like, but they're most useful if you choose tags that are already being used for the same thing by other projects (where possible). <br />Some tag examples are: library, plugin, paper, c++, mir, alpha, stable, bsd, android, ...<br />Tags help others find your work: please don't forget to tag your projects!"
48 46

  
47
  tags_search: "Filter by tag"
48

  
49
  text_tags_search: "A tag can be any text you like, but they're most useful if you choose tags that are already being used for the same thing by other projects (where possible). <br />Some tag examples are: library, plugin, paper, c++, mir, alpha, stable, bsd, android, ...<br />Tags help others find your work: please don't forget to tag your projects!"
50

  

Also available in: Unified diff