mirror of
https://github.com/redmine/redmine.git
synced 2026-03-01 01:51:23 +01:00
Show a hint in the issue relation add form to clarify that multiple comma-separated issue IDs are accepted (#43837).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24465 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
</span>
|
||||
<%= submit_tag l(:button_add) %>
|
||||
<%= link_to_function l(:button_cancel), '$("#new-relation-form").hide();'%>
|
||||
<em class="info"><%= l(:text_comma_separated) %></em>
|
||||
</p>
|
||||
|
||||
<%= javascript_tag "multipleAutocompleteField('relation_issue_to_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project, :scope => (Setting.cross_project_issue_relations? ? 'all' : nil), :issue_id => @issue.id)}')" %>
|
||||
|
||||
@@ -2512,6 +2512,8 @@ class IssuesControllerTest < Redmine::ControllerTest
|
||||
assert_select 'div#relations' do
|
||||
assert_select 'a', :text => /#2$/
|
||||
assert_select 'a', :text => /#4$/, :count => 0
|
||||
assert_select 'form#new-relation-form input#relation_issue_to_id'
|
||||
assert_select 'form#new-relation-form em.info', :text => l(:text_comma_separated)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user