Project

General

Profile

Patch #28242 » 0001-adds-toogle-checkboxes-to-activities-tab-from-projec.patch

Marius BĂLTEANU, 2018-02-25 15:49

View differences:

app/views/projects/settings/_activities.html.erb
<% 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| %>
......
</td>
<% end %>
<td>
<%= ff.check_box :active %>
<%= ff.check_box :active, :class => 'enumerations_active' %>
</td>
</tr>
<% end %>
(1-1/7)