gitlab-org--gitlab-foss/app/views/discussions/_resolve_all.html.haml

11 lines
526 B
Text
Raw Normal View History

2016-07-28 22:09:36 -04:00
- if discussion.can_resolve?(current_user)
%resolve-discussion-btn{ ":namespace-path" => "'#{discussion.project.namespace.path}'",
":project-path" => "'#{discussion.project.path}'",
2016-07-26 00:48:15 -04:00
":discussion-id" => "'#{discussion.id}'",
2016-07-28 22:09:36 -04:00
":merge-request-id" => "#{discussion.noteable.iid}",
2016-07-26 00:48:15 -04:00
"inline-template" => true,
"v-cloak" => true }
%button.btn.btn-default{ type: "button", "@click" => "resolve", ":disabled" => "loading" }
= icon("spinner spin", "v-show" => "loading")
{{ buttonText }}