##// END OF EJS Templates
replace Mailer deliver syntax to Rails3 style at reminders method of mailer model...
replace Mailer deliver syntax to Rails3 style at reminders method of mailer model git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9662 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8634:e4ef0b04efab
r9479:804864beca1c
Show More
_form.html.erb
128 lines | 4.8 KiB | text/plain | TextLexer
Jean-Philippe Lang
Initial commit...
r2 <%= error_messages_for 'custom_field' %>
Jean-Philippe Lang
custom_field.possible_values is now serialized (no longer pipe separated)...
r220 <script type="text/javascript">
//<![CDATA[
Jean-Philippe Lang
* code and views cleaning...
r97 function toggle_custom_field_format() {
format = $("custom_field_field_format");
p_length = $("custom_field_min_length");
p_regexp = $("custom_field_regexp");
p_values = $("custom_field_possible_values");
Jean-Philippe Lang
Search engine: issue custom fields can now be searched....
r981 p_searchable = $("custom_field_searchable");
Jean-Philippe Lang
Added default value for custom fields. Fixed javascript on custom field form for project and user custom fields....
r1076 p_default = $("custom_field_default_value");
Jean-Philippe Lang
Adds support for multiselect custom fields (#1189)....
r8601 p_multiple = $("custom_field_multiple");
Toshi MARUYAMA
remove trailing white-spaces from app/views/custom_fields/_form.rhtml....
r6224
Jean-Philippe Lang
Added default value for custom fields. Fixed javascript on custom field form for project and user custom fields....
r1076 p_default.setAttribute('type','text');
Element.show(p_default.parentNode);
Toshi MARUYAMA
remove trailing white-spaces from app/views/custom_fields/_form.rhtml....
r6224
Jean-Philippe Lang
* code and views cleaning...
r97 switch (format.value) {
case "list":
Element.hide(p_length.parentNode);
Element.hide(p_regexp.parentNode);
Jean-Philippe Lang
Added default value for custom fields. Fixed javascript on custom field form for project and user custom fields....
r1076 if (p_searchable) Element.show(p_searchable.parentNode);
Jean-Philippe Lang
Possible values label not hidden on custom field form....
r5146 Element.show(p_values.parentNode);
Jean-Philippe Lang
Adds support for multiselect custom fields (#1189)....
r8601 Element.show(p_multiple.parentNode);
Jean-Philippe Lang
* code and views cleaning...
r97 break;
case "bool":
Jean-Philippe Lang
Added default value for custom fields. Fixed javascript on custom field form for project and user custom fields....
r1076 p_default.setAttribute('type','checkbox');
Element.hide(p_length.parentNode);
Element.hide(p_regexp.parentNode);
if (p_searchable) Element.hide(p_searchable.parentNode);
Jean-Philippe Lang
Possible values label not hidden on custom field form....
r5146 Element.hide(p_values.parentNode);
Jean-Philippe Lang
Adds support for multiselect custom fields (#1189)....
r8601 Element.hide(p_multiple.parentNode);
Jean-Philippe Lang
Added default value for custom fields. Fixed javascript on custom field form for project and user custom fields....
r1076 break;
case "date":
Jean-Philippe Lang
* code and views cleaning...
r97 Element.hide(p_length.parentNode);
Element.hide(p_regexp.parentNode);
Jean-Philippe Lang
Added default value for custom fields. Fixed javascript on custom field form for project and user custom fields....
r1076 if (p_searchable) Element.hide(p_searchable.parentNode);
Jean-Philippe Lang
Possible values label not hidden on custom field form....
r5146 Element.hide(p_values.parentNode);
Jean-Philippe Lang
Adds support for multiselect custom fields (#1189)....
r8601 Element.hide(p_multiple.parentNode);
Jean-Philippe Lang
Search engine: issue custom fields can now be searched....
r981 break;
case "float":
case "int":
Element.show(p_length.parentNode);
Element.show(p_regexp.parentNode);
Jean-Philippe Lang
Added default value for custom fields. Fixed javascript on custom field form for project and user custom fields....
r1076 if (p_searchable) Element.hide(p_searchable.parentNode);
Jean-Philippe Lang
Possible values label not hidden on custom field form....
r5146 Element.hide(p_values.parentNode);
Jean-Philippe Lang
Adds support for multiselect custom fields (#1189)....
r8601 Element.hide(p_multiple.parentNode);
Jean-Philippe Lang
* code and views cleaning...
r97 break;
Toshi MARUYAMA
replace tabs to spaces at app/views/custom_fields/_form.html.erb...
r7280 case "user":
Jean-Philippe Lang
Adds User and Version custom field format that can be used to reference a project member or version in custom fields (#2096)....
r5152 case "version":
Element.hide(p_length.parentNode);
Element.hide(p_regexp.parentNode);
if (p_searchable) Element.hide(p_searchable.parentNode);
Element.hide(p_values.parentNode);
Element.hide(p_default.parentNode);
Jean-Philippe Lang
Adds support for multiselect custom fields (#1189)....
r8601 Element.show(p_multiple.parentNode);
Toshi MARUYAMA
replace tabs to spaces at app/views/custom_fields/_form.html.erb...
r7280 break;
Jean-Philippe Lang
* code and views cleaning...
r97 default:
Element.show(p_length.parentNode);
Element.show(p_regexp.parentNode);
Jean-Philippe Lang
Added default value for custom fields. Fixed javascript on custom field form for project and user custom fields....
r1076 if (p_searchable) Element.show(p_searchable.parentNode);
Jean-Philippe Lang
Possible values label not hidden on custom field form....
r5146 Element.hide(p_values.parentNode);
Jean-Philippe Lang
Adds support for multiselect custom fields (#1189)....
r8601 Element.hide(p_multiple.parentNode);
Jean-Philippe Lang
* code and views cleaning...
r97 break;
}
}
Jean-Philippe Lang
custom_field.possible_values is now serialized (no longer pipe separated)...
r220
//]]>
Jean-Philippe Lang
* code and views cleaning...
r97 </script>
Jean-Philippe Lang
Use #labelled_form_for instead of #labelled_tabular_form_for....
r8021 <div class="box tabular">
Jean-Philippe Lang
* code and views cleaning...
r97 <p><%= f.text_field :name, :required => true %></p>
Jean-Philippe Lang
Adds User and Version custom field format that can be used to reference a project member or version in custom fields (#2096)....
r5152 <p><%= f.select :field_format, custom_field_formats_for_select(@custom_field), {}, :onchange => "toggle_custom_field_format();",
Toshi MARUYAMA
replace tabs to spaces at app/views/custom_fields/_form.html.erb...
r7280 :disabled => !@custom_field.new_record? %></p>
Jean-Philippe Lang
Allow existing single value custom fields to be changed to multiselect....
r8603 <p><%= f.check_box :multiple, :disabled => @custom_field.multiple && !@custom_field.new_record? %></p>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="custom_field_min_length"><%=l(:label_min_max_length)%></label>
Jean-Philippe Lang
* code and views cleaning...
r97 <%= f.text_field :min_length, :size => 5, :no_label => true %> -
Toshi MARUYAMA
replace <br> to <br /> at app/views/custom_fields/_form.rhtml....
r6379 <%= f.text_field :max_length, :size => 5, :no_label => true %><br />(<%=l(:text_min_max_length_info)%>)</p>
<p><%= f.text_field :regexp, :size => 50 %><br />(<%=l(:text_regexp_info)%>)</p>
Jean-Philippe Lang
Removes duplicate DOM id in custom field form....
r4886 <p>
Toshi MARUYAMA
replace tabs to spaces at app/views/custom_fields/_form.html.erb...
r7280 <%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), :rows => 15 %>
Jean-Philippe Lang
Adds specific css class for information in forms....
r8634 <em class="info"><%= l(:text_custom_field_possible_values_info) %></em>
Jean-Philippe Lang
Removes duplicate DOM id in custom field form....
r4886 </p>
Jean-Philippe Lang
Added default value for custom fields. Fixed javascript on custom field form for project and user custom fields....
r1076 <p><%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %></p>
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
Initial commit...
r2
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" %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/custom_fields/_form.rhtml....
r6224
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <fieldset><legend><%=l(:label_tracker_plural)%></legend>
Jean-Philippe Lang
Resourcified custom fields....
r8024 <% Tracker.all.each do |tracker| %>
Toshi MARUYAMA
[#9489] use class instead of redundant id for label "no-css"...
r7581 <%= 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%>">
<%= h(tracker.name) %>
</label>
Jean-Philippe Lang
* code and views cleaning...
r97 <% end %>
Toshi MARUYAMA
replace tabs to spaces at app/views/custom_fields/_form.html.erb...
r7280 <%= hidden_field_tag "custom_field[tracker_ids][]", '' %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </fieldset>
Jean-Philippe Lang
* code and views cleaning...
r97 &nbsp;
<p><%= f.check_box :is_required %></p>
<p><%= f.check_box :is_for_all %></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
Search engine: issue custom fields can now be searched....
r981 <p><%= f.check_box :searchable %></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
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
Allow project custom fields to be searchable (#4945)....
r3396 <p><%= f.check_box :searchable %></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>
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
Search engine: issue custom fields can now be searched....
r981 <%= javascript_tag "toggle_custom_field_format();" %>