diff options
author | Nick Thomas <nick@gitlab.com> | 2017-09-19 12:00:09 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-09-20 20:30:44 +0300 |
commit | 6f8d669da643f522137dd7b9bd79cc6b6ccbb93f (patch) | |
tree | d307d5e3f95608a1f5a170f5da1eaf888574a0e7 /app/views/discussions/_new_issue_for_discussion.html.haml | |
parent | 404a56235f86a69b05991efcf4cc5d7c5f5c4567 (diff) |
Fix the "resolve discussion in a new issue" button
Diffstat (limited to 'app/views/discussions/_new_issue_for_discussion.html.haml')
-rw-r--r-- | app/views/discussions/_new_issue_for_discussion.html.haml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/discussions/_new_issue_for_discussion.html.haml b/app/views/discussions/_new_issue_for_discussion.html.haml index a9bc317b8f8..2bfe118c608 100644 --- a/app/views/discussions/_new_issue_for_discussion.html.haml +++ b/app/views/discussions/_new_issue_for_discussion.html.haml @@ -2,7 +2,9 @@ %new-issue-for-discussion-btn{ ":discussion-id" => "'#{discussion.id}'", "inline-template" => true } .btn-group{ role: "group", "v-if" => "showButton" } - .btn.btn-default.discussion-create-issue-btn.has-tooltip{ title: "Resolve this discussion in a new issue", - "aria-label" => "Resolve this discussion in a new issue", - "data-container" => "body" } - = link_to custom_icon('icon_mr_issue'), new_project_issue_path(@project, merge_request_to_resolve_discussions_of: merge_request.iid, discussion_to_resolve: discussion.id), title: "Resolve this discussion in a new issue", class: 'new-issue-for-discussion' + = link_to custom_icon('icon_mr_issue'), + new_project_issue_path(@project, merge_request_to_resolve_discussions_of: merge_request.iid, discussion_to_resolve: discussion.id), + title: 'Resolve this discussion in a new issue', + aria: { label: 'Resolve this discussion in a new issue' }, + data: { container: 'body' }, + class: 'new-issue-for-discussion btn btn-default discussion-create-issue-btn has-tooltip' |