Commit 92af767c authored by maeda's avatar maeda

Adds toggle checkboxes to activities tab from project settings (#28242).

Patch by Marius BALTEANU.


git-svn-id: https://svn.redmine.org/redmine/trunk@17213 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 5d237314
......@@ -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 %>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment