Commit f6d2a5a6 authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Make quick-action notes complete sentences

parent 2aefff27
...@@ -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