Update copy for warning on new issue form
This commit is contained in:
parent
d6453e75b7
commit
6ffa988ac7
1 changed files with 5 additions and 6 deletions
|
@ -53,16 +53,15 @@
|
||||||
= hidden_field_tag 'merge_request_for_resolving_discussions', @merge_request_for_resolving_discussions.iid
|
= hidden_field_tag 'merge_request_for_resolving_discussions', @merge_request_for_resolving_discussions.iid
|
||||||
- if @discussion_to_resolve
|
- if @discussion_to_resolve
|
||||||
= hidden_field_tag 'discussion_to_resolve', @discussion_to_resolve.id
|
= hidden_field_tag 'discussion_to_resolve', @discussion_to_resolve.id
|
||||||
Creating this issue will mark the discussion at
|
Creating this issue will resolve the discussion in
|
||||||
= link_to @discussion_to_resolve.noteable.to_reference, Gitlab::UrlBuilder.build(@discussion_to_resolve.first_note)
|
= link_to "#{@merge_request_for_resolving_discussions.to_reference} (discussion #{@discussion_to_resolve.first_note.id})", Gitlab::UrlBuilder.build(@discussion_to_resolve.first_note)
|
||||||
- else
|
- else
|
||||||
Creating this issue will mark all discussions in
|
Creating this issue will resolve all discussions in
|
||||||
= link_to @merge_request_for_resolving_discussions.to_reference, merge_request_path(@merge_request_for_resolving_discussions)
|
= link_to @merge_request_for_resolving_discussions.to_reference, merge_request_path(@merge_request_for_resolving_discussions)
|
||||||
as resolved.
|
|
||||||
- else
|
- else
|
||||||
You can't automatically mark all discussions in
|
The discussion at
|
||||||
= link_to @merge_request_for_resolving_discussions.to_reference, merge_request_path(@merge_request_for_resolving_discussions)
|
= link_to @merge_request_for_resolving_discussions.to_reference, merge_request_path(@merge_request_for_resolving_discussions)
|
||||||
as resolved. Ask someone with sufficient rights to resolve the them.
|
will stay unresolved. Ask someone with permission to resolve it.
|
||||||
|
|
||||||
- is_footer = !(issuable.is_a?(MergeRequest) && issuable.new_record?)
|
- is_footer = !(issuable.is_a?(MergeRequest) && issuable.new_record?)
|
||||||
.row-content-block{ class: (is_footer ? "footer-block" : "middle-block") }
|
.row-content-block{ class: (is_footer ? "footer-block" : "middle-block") }
|
||||||
|
|
Loading…
Reference in a new issue