summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-27 15:00:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-27 15:00:02 +0000
commitca5951b4f621ec003d70a85362f34af63e38577f (patch)
tree6a58d0159d40cc943f09efa407094d782ef700cc /app/views
parent590cc111fc366ebb625e0c217261ccf12f7e8783 (diff)
downloadredmine-ca5951b4f621ec003d70a85362f34af63e38577f.tar.gz
redmine-ca5951b4f621ec003d70a85362f34af63e38577f.zip
Allow bulk editing of parent issue (#5831).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5224 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/issues/bulk_edit.rhtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/issues/bulk_edit.rhtml b/app/views/issues/bulk_edit.rhtml
index b26e47c8a..35ee17307 100644
--- a/app/views/issues/bulk_edit.rhtml
+++ b/app/views/issues/bulk_edit.rhtml
@@ -55,6 +55,14 @@
</div>
<div class="splitcontentright">
+<% if @project && User.current.allowed_to?(:manage_subtasks, @project) %>
+<p>
+ <label><%= l(:field_parent_issue) %></label>
+ <%= text_field_tag 'issue[parent_issue_id]', '', :size => 10 %>
+</p>
+<div id="parent_issue_candidates" class="autocomplete"></div>
+<%= javascript_tag "observeParentIssueField('#{auto_complete_issues_path(:project_id => @project) }')" %>
+<% end %>
<p>
<label><%= l(:field_start_date) %></label>
<%= text_field_tag 'issue[start_date]', '', :size => 10 %><%= calendar_for('issue_start_date') %>