##// END OF EJS Templates
Send an email to the user when an administrator activates a registered user (#2656)....
Send an email to the user when an administrator activates a registered user (#2656). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2484 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2414:3183445aea1f
r2422:04c428e05948
Show More
_form.rhtml
98 lines | 3.5 KiB | text/html+ruby | RhtmlLexer
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");
p_default.setAttribute('type','text');
Element.show(p_default.parentNode);
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
custom_field.possible_values is now serialized (no longer pipe separated)...
r220 Element.show(p_values);
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);
Element.hide(p_values);
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
Search engine: issue custom fields can now be searched....
r981 Element.hide(p_values);
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
custom_field.possible_values is now serialized (no longer pipe separated)...
r220 Element.hide(p_values);
Jean-Philippe Lang
* code and views cleaning...
r97 break;
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
Added "Float" as a custom field format....
r857 Element.hide(p_values);
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
0.3 unstable...
r10 <div class="box">
Jean-Philippe Lang
* code and views cleaning...
r97 <p><%= f.text_field :name, :required => true %></p>
Jean-Philippe Lang
Makes the "type" field disabled when updating a custom field (#2744)....
r2414 <p><%= f.select :field_format, custom_field_formats_for_select, {}, :onchange => "toggle_custom_field_format();",
:disabled => !@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 %> -
<%= f.text_field :max_length, :size => 5, :no_label => true %><br>(<%=l(:text_min_max_length_info)%>)</p>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p><%= f.text_field :regexp, :size => 50 %><br>(<%=l(:text_regexp_info)%>)</p>
Jean-Philippe Lang
Use a textarea for custom fields possible values (#2472)....
r2265 <p id="custom_field_possible_values"><%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"),
:cols => 20,
:rows => 15 %>
<br /><em><%= l(:text_custom_field_possible_values_info) %></em></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>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
0.3 unstable...
r10 <div class="box">
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" %>
<fieldset><legend><%=l(:label_tracker_plural)%></legend>
Jean-Philippe Lang
* code and views cleaning...
r97 <% for tracker in @trackers %>
Jean-Philippe Lang
Make use of tracker_ids association in issue custom field form....
r2270 <%= check_box_tag "custom_field[tracker_ids][]", tracker.id, (@custom_field.trackers.include? tracker) %> <%= tracker.name %>
Jean-Philippe Lang
* code and views cleaning...
r97 <% end %>
Jean-Philippe Lang
Make use of tracker_ids association in issue custom field form....
r2270 <%= 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>
Jean-Philippe Lang
* code and views cleaning...
r97
<% when "UserCustomField" %>
<p><%= f.check_box :is_required %></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
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
0.3 unstable...
r10 <% end %>
</div>
Jean-Philippe Lang
Search engine: issue custom fields can now be searched....
r981 <%= javascript_tag "toggle_custom_field_format();" %>