Patch #28242 » 0001-adds-toogle-checkboxes-to-activities-tab-from-projec.patch
| app/views/projects/settings/_activities.html.erb | ||
|---|---|---|
| 7 | 7 |
<% TimeEntryActivity.new.available_custom_fields.each do |value| %> |
| 8 | 8 |
<th><%= value.name %></th> |
| 9 | 9 |
<% end %> |
| 10 |
<th><%= l(:field_active) %></th> |
|
| 10 |
<th><%= toggle_checkboxes_link('input.enumerations_active') %> <%= l(:field_active) %></th>
|
|
| 11 | 11 |
</tr></thead> |
| 12 | 12 | |
| 13 | 13 |
<% @project.activities(true).each do |enumeration| %> |
| ... | ... | |
| 24 | 24 |
</td> |
| 25 | 25 |
<% end %> |
| 26 | 26 |
<td> |
| 27 |
<%= ff.check_box :active %> |
|
| 27 |
<%= ff.check_box :active, :class => 'enumerations_active' %>
|
|
| 28 | 28 |
</td> |
| 29 | 29 |
</tr> |
| 30 | 30 |
<% end %> |