summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-02-26 11:56:54 +0000
committerGo MAEDA <maeda@farend.jp>2018-02-26 11:56:54 +0000
commitd2f6ccde4a05878d2459a72afb0addb4ffd88e26 (patch)
tree3296195d124635a62199887db6a09eb4dd00b7ff /app/views/projects
parent5ed4031b64fd00234627bc26b4fe58e2e9fc64ae (diff)
downloadredmine-d2f6ccde4a05878d2459a72afb0addb4ffd88e26.tar.gz
redmine-d2f6ccde4a05878d2459a72afb0addb4ffd88e26.zip
Adds toggle checkboxes to activities tab from project settings (#28242).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17213 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/settings/_activities.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/settings/_activities.html.erb b/app/views/projects/settings/_activities.html.erb
index 27a27de5d..2cd066ee2 100644
--- a/app/views/projects/settings/_activities.html.erb
+++ b/app/views/projects/settings/_activities.html.erb
@@ -7,7 +7,7 @@
<% TimeEntryActivity.new.available_custom_fields.each do |value| %>
<th><%= value.name %></th>
<% end %>
- <th><%= l(:field_active) %></th>
+ <th><%= toggle_checkboxes_link('input.enumerations_active') %> <%= l(:field_active) %></th>
</tr></thead>
<% @project.activities(true).each do |enumeration| %>
@@ -24,7 +24,7 @@
</td>
<% end %>
<td>
- <%= ff.check_box :active %>
+ <%= ff.check_box :active, :class => 'enumerations_active' %>
</td>
</tr>
<% end %>