Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -1,3 +1,13 @@
|
|||
<div class="contextual">
|
||||
<%= link_to(l(:button_reset), project_enumerations_path(@project),
|
||||
:method => :delete,
|
||||
:data => {:confirm => l(:text_are_you_sure)},
|
||||
:class => 'icon icon-del') %>
|
||||
<% if User.current.admin? %>
|
||||
<%= link_to l(:label_administration), enumerations_path, :class => "icon icon-settings" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<%= form_tag(project_enumerations_path(@project), :method => :put, :class => "tabular") do %>
|
||||
|
||||
<table class="list">
|
||||
|
@ -7,7 +17,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,19 +34,12 @@
|
|||
</td>
|
||||
<% end %>
|
||||
<td>
|
||||
<%= ff.check_box :active %>
|
||||
<%= ff.check_box :active, :class => 'enumerations_active' %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</table>
|
||||
|
||||
<div class="contextual">
|
||||
<%= link_to(l(:button_reset), project_enumerations_path(@project),
|
||||
:method => :delete,
|
||||
:data => {:confirm => l(:text_are_you_sure)},
|
||||
:class => 'icon icon-del') %>
|
||||
</div>
|
||||
|
||||
<%= submit_tag l(:button_save) %>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue