Commit 702aafdf authored by Sean McGivern's avatar Sean McGivern

Merge branch 'make-quick-action-sentences' into 'master'

Make quick-action notes complete sentences

See merge request gitlab-org/gitlab-ee!8740
parents 5a610466 f6d2a5a6
...@@ -10,7 +10,7 @@ module EE ...@@ -10,7 +10,7 @@ module EE
prepended do prepended do
desc 'Change assignee(s)' desc 'Change assignee(s)'
explanation do explanation do
'Change assignee(s)' 'Change assignee(s).'
end end
params '@user1 @user2' params '@user1 @user2'
condition do condition do
...@@ -78,7 +78,7 @@ module EE ...@@ -78,7 +78,7 @@ module EE
end end
desc 'Approve a merge request' desc 'Approve a merge request'
explanation 'Approve the current merge request' explanation 'Approve the current merge request.'
condition do condition do
issuable.is_a?(MergeRequest) && issuable.persisted? && issuable.can_approve?(current_user) issuable.is_a?(MergeRequest) && issuable.persisted? && issuable.can_approve?(current_user)
end end
...@@ -89,7 +89,7 @@ module EE ...@@ -89,7 +89,7 @@ module EE
end end
desc 'Promote issue to an epic' desc 'Promote issue to an epic'
explanation 'Promote issue to an epic' explanation 'Promote issue to an epic.'
warning 'may expose confidential information' warning 'may expose confidential information'
condition do condition do
issuable.is_a?(Issue) && issuable.is_a?(Issue) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment