##// END OF EJS Templates
Lists can be reordered with drag and drop (#12909)....
Lists can be reordered with drag and drop (#12909). git-svn-id: http://svn.redmine.org/redmine/trunk@15336 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14702:aa490a70b3dd
r14954:42b5c332b2c2
Show More
_form.html.erb
115 lines | 4.3 KiB | text/plain | TextLexer
Jean-Philippe Lang
Initial commit...
r2 <%= error_messages_for 'custom_field' %>
Jean-Philippe Lang
Projects selection on custom field form (#15136)....
r11995 <div class="splitcontentleft">
Jean-Philippe Lang
Use #labelled_form_for instead of #labelled_tabular_form_for....
r8021 <div class="box tabular">
Jean-Philippe Lang
Move the field format at the top of the form....
r12622 <p><%= f.select :field_format, custom_field_formats_for_select(@custom_field), {}, :disabled => !@custom_field.new_record? %></p>
Jean-Philippe Lang
Enlarge custom field name input....
r14370 <p><%= f.text_field :name, :size => 50, :required => true %></p>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <p><%= f.text_area :description, :rows => 7 %></p>
Jean-Philippe Lang
Update the new custom field form with remotely....
r9980
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <% if @custom_field.format.multiple_supported %>
Jean-Philippe Lang
Adds a message about disabling multiple values on custom field form (#12251)....
r10938 <p>
<%= f.check_box :multiple %>
<% if !@custom_field.new_record? && @custom_field.multiple %>
<em class="info"><%= l(:text_turning_multiple_off) %></em>
<% end %>
</p>
Jean-Philippe Lang
Update the new custom field form with remotely....
r9980 <% end %>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <%= render_custom_field_format_partial f, @custom_field %>
Jean-Philippe Lang
Update the new custom field form with remotely....
r9980
Eric Davis
Added several more plugin hooks:...
r2535 <%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <p><%= submit_tag l(:button_save) %></p>
</div>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <div class="splitcontentright">
Jean-Philippe Lang
Use #labelled_form_for instead of #labelled_tabular_form_for....
r8021 <div class="box tabular">
Jean-Philippe Lang
Make use of tracker_ids association in issue custom field form....
r2270 <% case @custom_field.class.name
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 when "IssueCustomField" %>
Jean-Philippe Lang
* code and views cleaning...
r97 <p><%= f.check_box :is_required %></p>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <p><%= f.check_box :is_for_all, :data => {:disables => '#custom_field_project_ids input'} %></p>
Jean-Philippe Lang
Custom fields for issues can now be used as filters on issue list....
r444 <p><%= f.check_box :is_filter %></p>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <% if @custom_field.format.searchable_supported %>
Jean-Philippe Lang
Search engine: issue custom fields can now be searched....
r981 <p><%= f.check_box :searchable %></p>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <% end %>
Jean-Philippe Lang
Role-based issue custom field visibility (#5037)....
r11782 <p>
<label><%= l(:field_visible) %></label>
<label class="block">
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <%= radio_button_tag 'custom_field[visible]', 1, @custom_field.visible?, :id => 'custom_field_visible_on',
:data => {:disables => '.custom_field_role input'} %>
Jean-Philippe Lang
Role-based issue custom field visibility (#5037)....
r11782 <%= l(:label_visibility_public) %>
</label>
<label class="block">
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <%= radio_button_tag 'custom_field[visible]', 0, !@custom_field.visible?, :id => 'custom_field_visible_off',
:data => {:enables => '.custom_field_role input'} %>
Jean-Philippe Lang
Role-based issue custom field visibility (#5037)....
r11782 <%= l(:label_visibility_roles) %>:
</label>
<% Role.givable.sorted.each do |role| %>
<label class="block custom_field_role" style="padding-left:2em;">
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <%= check_box_tag 'custom_field[role_ids][]', role.id, @custom_field.roles.include?(role), :id => nil %>
Jean-Philippe Lang
Role-based issue custom field visibility (#5037)....
r11782 <%= role.name %>
</label>
<% end %>
<%= hidden_field_tag 'custom_field[role_ids][]', '' %>
</p>
Toshi MARUYAMA
remove trailing white-spaces from app/views/custom_fields/_form.rhtml....
r6224
Jean-Philippe Lang
* code and views cleaning...
r97 <% when "UserCustomField" %>
<p><%= f.check_box :is_required %></p>
Jean-Philippe Lang
Adds a "visible" option on User and Project custom fields (#1738)....
r4268 <p><%= f.check_box :visible %></p>
Jean-Philippe Lang
User custom fields can now be set as editable so that users can edit them on 'My account'....
r2274 <p><%= f.check_box :editable %></p>
Jean-Philippe Lang
Ability to filter issues using project, author, assignee and target version custom fields (#8161)....
r9981 <p><%= f.check_box :is_filter %></p>
Jean-Philippe Lang
0.3 unstable...
r10
Jean-Philippe Lang
* code and views cleaning...
r97 <% when "ProjectCustomField" %>
<p><%= f.check_box :is_required %></p>
Jean-Philippe Lang
Adds a "visible" option on User and Project custom fields (#1738)....
r4268 <p><%= f.check_box :visible %></p>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <% if @custom_field.format.searchable_supported %>
Jean-Philippe Lang
Allow project custom fields to be searchable (#4945)....
r3396 <p><%= f.check_box :searchable %></p>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <% end %>
Jean-Philippe Lang
Ability to filter issues using project, author, assignee and target version custom fields (#8161)....
r9981 <p><%= f.check_box :is_filter %></p>
<% when "VersionCustomField" %>
<p><%= f.check_box :is_required %></p>
<p><%= f.check_box :is_filter %></p>
<% when "GroupCustomField" %>
<p><%= f.check_box :is_required %></p>
<p><%= f.check_box :is_filter %></p>
Jean-Philippe Lang
0.3 unstable...
r10
Jean-Philippe Lang
Adds custom fields on time entries (#772)....
r1672 <% when "TimeEntryCustomField" %>
<p><%= f.check_box :is_required %></p>
Jean-Philippe Lang
Adds filters for regular/custom fields to the time entries list/report (#10191)....
r10743 <p><%= f.check_box :is_filter %></p>
Jean-Philippe Lang
Adds custom fields on time entries (#772)....
r1672
Eric Davis
Enumerations can now have custom fields defined on them. #4077...
r2831 <% else %>
<p><%= f.check_box :is_required %></p>
Toshi MARUYAMA
remove trailing white-spaces from app/views/custom_fields/_form.rhtml....
r6224
Jean-Philippe Lang
0.3 unstable...
r10 <% end %>
Eric Davis
Added several more plugin hooks:...
r2535 <%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %>
Jean-Philippe Lang
0.3 unstable...
r10 </div>
Jean-Philippe Lang
Projects selection on custom field form (#15136)....
r11995
<% if @custom_field.is_a?(IssueCustomField) %>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <fieldset class="box" id="custom_field_tracker_ids"><legend><%=l(:label_tracker_plural)%></legend>
Toshi MARUYAMA
remove unneeded Relation#all from app/views/custom_fields/_form.html.erb...
r12242 <% Tracker.sorted.each do |tracker| %>
Jean-Philippe Lang
Projects selection on custom field form (#15136)....
r11995 <%= check_box_tag "custom_field[tracker_ids][]",
tracker.id,
(@custom_field.trackers.include? tracker),
:id => "custom_field_tracker_ids_#{tracker.id}" %>
<label class="no-css" for="custom_field_tracker_ids_<%=tracker.id%>">
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <%= tracker.name %>
Jean-Philippe Lang
Projects selection on custom field form (#15136)....
r11995 </label>
<% end %>
<%= hidden_field_tag "custom_field[tracker_ids][]", '' %>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 <p><%= check_all_links 'custom_field_tracker_ids' %></p>
Jean-Philippe Lang
Projects selection on custom field form (#15136)....
r11995 </fieldset>
<fieldset class="box" id="custom_field_project_ids"><legend><%= l(:label_project_plural) %></legend>
Jean-Philippe Lang
Speeds up the custom field edit view when having hundreds of projects....
r14702 <% project_ids = @custom_field.project_ids.to_a %>
Jean-Philippe Lang
Projects selection on custom field form (#15136)....
r11995 <%= render_project_nested_lists(Project.all) do |p|
Jean-Philippe Lang
Speeds up the custom field edit view when having hundreds of projects....
r14702 content_tag('label', check_box_tag('custom_field[project_ids][]', p.id, project_ids.include?(p.id), :id => nil) + ' ' + p)
Jean-Philippe Lang
Projects selection on custom field form (#15136)....
r11995 end %>
<%= hidden_field_tag('custom_field[project_ids][]', '', :id => nil) %>
<p><%= check_all_links 'custom_field_project_ids' %></p>
</fieldset>
<% end %>
Jean-Philippe Lang
Merged custom fields format refactoring....
r12125 </div>
Jean-Philippe Lang
Adds the date picker for the default value of date custom fields....
r11168
<% include_calendar_headers_tags %>