Feature #43837 » 0001-Show-a-hint-in-the-issue-relation-add-form-to-clarif.patch
| app/views/issue_relations/_form.html.erb | ||
|---|---|---|
|
</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)}')" %>
|
||
| test/functional/issues_controller_test.rb | ||
|---|---|---|
|
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
|
||
- « Previous
- 1
- 2
- Next »