# HG changeset patch # User luisf # Date 1291833441 0 # Node ID 11328a082ef3347462170ecce129aa8dcdf58c77 # Parent a7fa8dd0446f2a64e90797b8ed60a000e78c6f23 Feature #47: added a description. Feature #49: Turned autocomplete on in the Parent Task field. This should be thorouglly tested. diff -r a7fa8dd0446f -r 11328a082ef3 app/views/issues/_form.rhtml --- a/app/views/issues/_form.rhtml Wed Dec 08 17:03:29 2010 +0000 +++ b/app/views/issues/_form.rhtml Wed Dec 08 18:37:21 2010 +0000 @@ -9,9 +9,12 @@
<%= f.text_field :subject, :size => 80, :required => true %>
<% if User.current.allowed_to?(:manage_subtasks, @project) %> -<%= f.text_field :parent_issue_id, :size => 10 %>
- -<%= javascript_tag "observeParentIssueField('#{auto_complete_issues_path(:id => @issue, :project_id => @project) }')" %> +<%= f.text_field :parent_issue_id, :size => 10, :autocomplete => :on %>
+
+ <%=l(:text_issue_parent_issue_info)%>
+
<%= f.text_area :description, diff -r a7fa8dd0446f -r 11328a082ef3 config/locales/en.yml --- a/config/locales/en.yml Wed Dec 08 17:03:29 2010 +0000 +++ b/config/locales/en.yml Wed Dec 08 18:37:21 2010 +0000 @@ -870,6 +870,7 @@ text_project_visibility_info: "If your project is not public, it will only be visible to this site's users you add as project members." text_project_homepage_info: 'Link to an external project page.' text_user_ssamr_description_info: 'Description of you interests and experience as a Researcher/Developer in the field of Audio and Music.' + text_issue_parent_issue_info: 'If this is a subtask, please insert its parent task number or write the main task name.' text_caracters_maximum: "{{count}} characters maximum." text_caracters_minimum: "Must be at least {{count}} characters long." text_length_between: "Length between {{min}} and {{max}} characters."