Commit 1c5f4790 authored by Martin Wortschack's avatar Martin Wortschack

Replace fa-chevron-down with GitLab SVG

parent 1def732d
---
title: 'Feature flags form: Replace fa-chevron-down with GitLab SVG'
merge_request: 42968
author:
type: changed
...@@ -9,6 +9,7 @@ import { ...@@ -9,6 +9,7 @@ import {
GlFormTextarea, GlFormTextarea,
GlFormCheckbox, GlFormCheckbox,
GlSprintf, GlSprintf,
GlIcon,
} from '@gitlab/ui'; } from '@gitlab/ui';
import Api from 'ee/api'; import Api from 'ee/api';
import RelatedIssuesRoot from '~/related_issues/components/related_issues_root.vue'; import RelatedIssuesRoot from '~/related_issues/components/related_issues_root.vue';
...@@ -37,6 +38,7 @@ export default { ...@@ -37,6 +38,7 @@ export default {
GlFormCheckbox, GlFormCheckbox,
GlTooltip, GlTooltip,
GlSprintf, GlSprintf,
GlIcon,
ToggleButton, ToggleButton,
EnvironmentsDropdown, EnvironmentsDropdown,
Strategy, Strategy,
...@@ -461,7 +463,11 @@ export default { ...@@ -461,7 +463,11 @@ export default {
{{ s__('FeatureFlags|User IDs') }} {{ s__('FeatureFlags|User IDs') }}
</option> </option>
</select> </select>
<i aria-hidden="true" data-hidden="true" class="fa fa-chevron-down"></i> <gl-icon
name="chevron-down"
class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500"
:size="16"
/>
</div> </div>
<div <div
...@@ -500,9 +506,8 @@ export default { ...@@ -500,9 +506,8 @@ export default {
<gl-form-checkbox <gl-form-checkbox
v-if="shouldDisplayIncludeUserIds(scope)" v-if="shouldDisplayIncludeUserIds(scope)"
v-model="scope.shouldIncludeUserIds" v-model="scope.shouldIncludeUserIds"
>{{ s__('FeatureFlags|Include additional user IDs') }}</gl-form-checkbox
> >
{{ s__('FeatureFlags|Include additional user IDs') }}
</gl-form-checkbox>
<template v-if="shouldDisplayUserIds(scope)"> <template v-if="shouldDisplayUserIds(scope)">
<label :for="rolloutUserId(index)" class="mb-2"> <label :for="rolloutUserId(index)" class="mb-2">
{{ s__('FeatureFlags|User IDs') }} {{ s__('FeatureFlags|User IDs') }}
...@@ -579,7 +584,11 @@ export default { ...@@ -579,7 +584,11 @@ export default {
> >
<option>{{ s__('FeatureFlags|All users') }}</option> <option>{{ s__('FeatureFlags|All users') }}</option>
</select> </select>
<i aria-hidden="true" data-hidden="true" class="fa fa-chevron-down"></i> <gl-icon
name="chevron-down"
class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500"
:size="16"
/>
</div> </div>
</div> </div>
</div> </div>
...@@ -597,9 +606,8 @@ export default { ...@@ -597,9 +606,8 @@ export default {
variant="success" variant="success"
class="js-ff-submit col-xs-12" class="js-ff-submit col-xs-12"
@click="handleSubmit" @click="handleSubmit"
>{{ submitText }}</gl-button
> >
{{ submitText }}
</gl-button>
<gl-button :href="cancelPath" class="js-ff-cancel col-xs-12 float-right"> <gl-button :href="cancelPath" class="js-ff-cancel col-xs-12 float-right">
{{ __('Cancel') }} {{ __('Cancel') }}
</gl-button> </gl-button>
......
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