mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-02 12:13:48 +00:00
Improve forges list (#5398)
This commit is contained in:
parent
d5e95e1a3b
commit
93f7f06ae9
2 changed files with 6 additions and 6 deletions
|
@ -527,7 +527,7 @@
|
||||||
},
|
},
|
||||||
"no_search_results": "No results found",
|
"no_search_results": "No results found",
|
||||||
"forges": "Forges",
|
"forges": "Forges",
|
||||||
"forges_desc": "Configure forges hosting repositories Woopecker should run for.",
|
"forges_desc": "Configure forges hosting repositories Woodpecker should run for.",
|
||||||
"add_forge": "Add forge",
|
"add_forge": "Add forge",
|
||||||
"show_forges": "Show forges",
|
"show_forges": "Show forges",
|
||||||
"github": "GitHub",
|
"github": "GitHub",
|
||||||
|
@ -557,7 +557,7 @@
|
||||||
"skip_verify_desc": "Skip SSL verification for the API connection. This is not recommended for production use.",
|
"skip_verify_desc": "Skip SSL verification for the API connection. This is not recommended for production use.",
|
||||||
"url": "URL",
|
"url": "URL",
|
||||||
"forge_managed_by_env": "The primary forge is managed by environment variables. Any changes to this forge will be reverted on a restart.",
|
"forge_managed_by_env": "The primary forge is managed by environment variables. Any changes to this forge will be reverted on a restart.",
|
||||||
"oauth_redirect_uri": "OAuth redirect URI",
|
"oauth_redirect_url": "OAuth redirect URL",
|
||||||
"forge_created": "Forge created",
|
"forge_created": "Forge created",
|
||||||
"advanced_options": "Advanced options",
|
"advanced_options": "Advanced options",
|
||||||
"leave_empty_to_keep_current_value": "Leave empty to keep current value",
|
"leave_empty_to_keep_current_value": "Leave empty to keep current value",
|
||||||
|
|
|
@ -23,10 +23,10 @@
|
||||||
<TextField :id="id" v-model="forge.url" required />
|
<TextField :id="id" v-model="forge.url" required />
|
||||||
</InputField>
|
</InputField>
|
||||||
|
|
||||||
<hr class="my-4 border-gray-800" />
|
|
||||||
|
|
||||||
<template v-if="forge.type && forge.url">
|
<template v-if="forge.type && forge.url">
|
||||||
<InputField v-slot="{ id }" :label="$t('oauth_redirect_uri')">
|
<hr class="my-4 border-gray-800" />
|
||||||
|
|
||||||
|
<InputField v-slot="{ id }" :label="$t('oauth_redirect_url')">
|
||||||
<i18n-t keypath="use_this_redirect_uri_to_create" tag="p" class="mb-2">
|
<i18n-t keypath="use_this_redirect_uri_to_create" tag="p" class="mb-2">
|
||||||
<a rel="noopener noreferrer" :href="oauthAppForgeUrl" target="_blank" class="underline">{{
|
<a rel="noopener noreferrer" :href="oauthAppForgeUrl" target="_blank" class="underline">{{
|
||||||
$t('developer_settings')
|
$t('developer_settings')
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
</Panel>
|
</Panel>
|
||||||
|
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2">
|
||||||
<Button :text="$t('cancel')" @click="forge = {}" />
|
<Button :text="$t('cancel')" :to="{ name: 'admin-settings-forges' }" />
|
||||||
|
|
||||||
<Button :is-loading="isSaving" type="submit" color="green" :text="isNew ? $t('add') : $t('save')" />
|
<Button :is-loading="isSaving" type="submit" color="green" :text="isNew ? $t('add') : $t('save')" />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue