Commit 57c458f9 authored by pburdette's avatar pburdette

Remove search for project text

Remove search text because we
aren't really searching just
adding.
parent 7946d895
<script> <script>
import { GlButton, GlCard, GlFormGroup, GlFormInput, GlLoadingIcon, GlToggle } from '@gitlab/ui'; import { GlButton, GlCard, GlFormInput, GlLoadingIcon, GlToggle } from '@gitlab/ui';
import createFlash from '~/flash'; import createFlash from '~/flash';
import { __, s__ } from '~/locale'; import { __, s__ } from '~/locale';
import addProjectCIJobTokenScopeMutation from '../graphql/mutations/add_project_ci_job_token_scope.mutation.graphql'; import addProjectCIJobTokenScopeMutation from '../graphql/mutations/add_project_ci_job_token_scope.mutation.graphql';
...@@ -16,7 +16,6 @@ export default { ...@@ -16,7 +16,6 @@ export default {
`CICD|Select projects that can be accessed by API requests authenticated with this project's CI_JOB_TOKEN CI/CD variable.`, `CICD|Select projects that can be accessed by API requests authenticated with this project's CI_JOB_TOKEN CI/CD variable.`,
), ),
cardHeaderTitle: s__('CICD|Add an existing project to the scope'), cardHeaderTitle: s__('CICD|Add an existing project to the scope'),
formGroupLabel: __('Search for project'),
addProject: __('Add project'), addProject: __('Add project'),
cancel: __('Cancel'), cancel: __('Cancel'),
addProjectPlaceholder: __('Paste project path (i.e. gitlab-org/gitlab)'), addProjectPlaceholder: __('Paste project path (i.e. gitlab-org/gitlab)'),
...@@ -26,7 +25,6 @@ export default { ...@@ -26,7 +25,6 @@ export default {
components: { components: {
GlButton, GlButton,
GlCard, GlCard,
GlFormGroup,
GlFormInput, GlFormInput,
GlLoadingIcon, GlLoadingIcon,
GlToggle, GlToggle,
...@@ -183,13 +181,10 @@ export default { ...@@ -183,13 +181,10 @@ export default {
<h5 class="gl-my-0">{{ $options.i18n.cardHeaderTitle }}</h5> <h5 class="gl-my-0">{{ $options.i18n.cardHeaderTitle }}</h5>
</template> </template>
<template #default> <template #default>
<gl-form-group :label="$options.i18n.formGroupLabel" label-for="token-project-search"> <gl-form-input
<gl-form-input v-model="targetProjectPath"
id="token-project-search" :placeholder="$options.i18n.addProjectPlaceholder"
v-model="targetProjectPath" />
:placeholder="$options.i18n.addProjectPlaceholder"
/>
</gl-form-group>
</template> </template>
<template #footer> <template #footer>
<gl-button <gl-button
......
...@@ -28726,9 +28726,6 @@ msgstr "" ...@@ -28726,9 +28726,6 @@ msgstr ""
msgid "Search for a user" msgid "Search for a user"
msgstr "" msgstr ""
msgid "Search for project"
msgstr ""
msgid "Search for projects, issues, etc." msgid "Search for projects, issues, 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