Project

General

Profile

Feature #5661 » ro5661-add_check-all_links_in_project_settings_views-r4425.diff

Combined, updated patch against Redmine trunk @ r4425. - Mischa The Evil, 2010-12-02 05:28

View differences:

app/views/projects/new.html.erb (working copy)
3 3
<% labelled_tabular_form_for :project, @project, :url => { :action => "create" } do |f| %>
4 4
<%= render :partial => 'form', :locals => { :f => f } %>
5 5

  
6
<fieldset class="box"><legend><%= l(:label_module_plural) %></legend>
6
<fieldset class="box" id="modules"><legend><%= l(:label_module_plural) %> <span style="font-size:0.9em">(<%= check_all_links 'modules' %>)</span></legend>
7 7
<% Redmine::AccessControl.available_project_modules.each do |m| %>
8 8
    <label class="floating">
9 9
    <%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %>
app/views/projects/_form.rhtml (working copy)
24 24
</div>
25 25

  
26 26
<% unless @trackers.empty? %>
27
<fieldset class="box"><legend><%=l(:label_tracker_plural)%></legend>
27
<fieldset class="box" id="trackers"><legend><%=l(:label_tracker_plural)%> <span style="font-size:0.9em">(<%= check_all_links 'trackers' %>)</span></legend>
28 28
<% @trackers.each do |tracker| %>
29 29
    <label class="floating">
30 30
    <%= check_box_tag 'project[tracker_ids][]', tracker.id, @project.trackers.include?(tracker) %>
......
36 36
<% end %>
37 37

  
38 38
<% unless @issue_custom_fields.empty? %>
39
<fieldset class="box"><legend><%=l(:label_custom_field_plural)%></legend>
39
<fieldset class="box" id="custom-fields"><legend><%=l(:label_custom_field_plural)%> <span style="font-size:0.9em">(<%= check_all_links 'custom-fields' %>)</span></legend>
40 40
<% @issue_custom_fields.each do |custom_field| %>
41 41
    <label class="floating">
42 42
	<%= check_box_tag 'project[issue_custom_field_ids][]', custom_field.id, (@project.all_issue_custom_fields.include? custom_field), (custom_field.is_for_all? ? {:disabled => "disabled"} : {}) %>
(3-3/3)