Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
56b1e846
Commit
56b1e846
authored
May 07, 2019
by
Enrique Alcantara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use common utils classes
parent
7c4b6aba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
ee/app/assets/javascripts/approvals/components/rule_form.vue
ee/app/assets/javascripts/approvals/components/rule_form.vue
+10
-8
No files found.
ee/app/assets/javascripts/approvals/components/rule_form.vue
View file @
56b1e846
...
...
@@ -222,7 +222,7 @@ export default {
<div
class=
"row"
>
<div
v-if=
"settings.allowMultiRule"
class=
"form-group col-sm-6"
>
<label
class=
"label-wrapper"
>
<span
class=
"
form-label label-bold
"
>
{{
s__
(
'
ApprovalRule|Name
'
)
}}
</span>
<span
class=
"
mb-2 bold inline
"
>
{{
s__
(
'
ApprovalRule|Name
'
)
}}
</span>
<input
v-model=
"name"
:class=
"
{ 'is-invalid': validation.name }"
...
...
@@ -236,9 +236,9 @@ export default {
</div>
<div
class=
"form-group col-sm-6"
>
<label
class=
"label-wrapper"
>
<span
class=
"
form-label label-bold"
>
{{
s__
(
'
ApprovalRule|No. approvals required
'
)
}}
</span>
<span
class=
"
mb-2 bold inline"
>
{{
s__
(
'
ApprovalRule|No. approvals required
'
)
}}
</span>
<input
v-model.number=
"approvalsRequired"
:class=
"
{ 'is-invalid': validation.approvalsRequired }"
...
...
@@ -264,11 +264,13 @@ export default {
/>
<div
class=
"invalid-feedback"
>
{{
validation
.
approvers
}}
</div>
</div>
<gl-button
variant=
"success"
class=
"btn-inverted prepend-left-8"
@
click=
"addSelection"
>
{{
__
(
'
Add
'
)
}}
</gl-button>
<gl-button
variant=
"success"
class=
"btn-inverted prepend-left-8"
@
click=
"addSelection"
>
{{
__
(
'
Add
'
)
}}
</gl-button>
</div>
</div>
<div
class=
"bordered-box overflow-auto h-12em"
><approvers-list
v-model=
"approvers"
/></div>
<div
class=
"bordered-box overflow-auto h-12em"
>
<approvers-list
v-model=
"approvers"
/>
</div>
</form>
</
template
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment