Commit 89b11c98 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '65631-rename-approval-rule' into 'master'

Rename approval rule

See merge request gitlab-org/gitlab-ee!15141
parents 87662bdb 0f75e95f
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
<div class="row"> <div class="row">
<div v-if="settings.allowMultiRule" class="form-group col-sm-6"> <div v-if="settings.allowMultiRule" class="form-group col-sm-6">
<label class="label-wrapper"> <label class="label-wrapper">
<span class="mb-2 bold inline">{{ s__('ApprovalRule|Name') }}</span> <span class="mb-2 bold inline">{{ s__('ApprovalRule|Rule name') }}</span>
<input <input
v-model="name" v-model="name"
:class="{ 'is-invalid': validation.name }" :class="{ 'is-invalid': validation.name }"
......
---
title: Rename approval rule
merge_request: 15140
author:
type: other
...@@ -53,7 +53,7 @@ describe 'Merge request > User edits MR with approval rules', :js do ...@@ -53,7 +53,7 @@ describe 'Merge request > User edits MR with approval rules', :js do
click_button "Add approvers" click_button "Add approvers"
fill_in "Name", with: rule_name fill_in "Rule name", with: rule_name
add_approval_rule_member('user', approver.name) add_approval_rule_member('user', approver.name)
......
...@@ -1659,6 +1659,9 @@ msgstr "" ...@@ -1659,6 +1659,9 @@ msgstr ""
msgid "ApprovalRule|No. approvals required" msgid "ApprovalRule|No. approvals required"
msgstr "" msgstr ""
msgid "ApprovalRule|Rule name"
msgstr ""
msgid "ApprovalRule|e.g. QA, Security, etc." msgid "ApprovalRule|e.g. QA, Security, etc."
msgstr "" msgstr ""
......
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