mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-01 21:29:40 +00:00
Add a check/uncheck all button to search (#10264).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17852 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8cf95006bf
commit
da53b969af
@ -11,11 +11,14 @@
|
||||
<label><%= check_box_tag 'titles_only', 1, @titles_only %> <%= l(:label_search_titles_only) %></label>
|
||||
</p>
|
||||
|
||||
<p id="search-types">
|
||||
<% @object_types.each do |t| %>
|
||||
<label><%= check_box_tag t, 1, @scope.include?(t) %> <%= link_to type_label(t), "#" %></label>
|
||||
<% end %>
|
||||
</p>
|
||||
<fieldset class="box">
|
||||
<legend><%= toggle_checkboxes_link('p#search-types input') %></legend>
|
||||
<p id="search-types">
|
||||
<% @object_types.each do |t| %>
|
||||
<label><%= check_box_tag t, 1, @scope.include?(t) %> <%= link_to type_label(t), "#" %></label>
|
||||
<% end %>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="collapsible collapsed">
|
||||
<legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user