mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
Add disabled badge to agents (#5593)
This commit is contained in:
@@ -586,5 +586,6 @@
|
||||
"fullscreen": "Fullscreen",
|
||||
"exit_fullscreen": "Exit fullscreen",
|
||||
"help_translating": "You can help translate Woodpecker into your language on {0}.",
|
||||
"weblate": "our Weblate"
|
||||
"weblate": "our Weblate",
|
||||
"disabled": "Disabled"
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
>
|
||||
<span>{{ agent.name || `Agent ${agent.id}` }}</span>
|
||||
<span class="ml-auto flex gap-2">
|
||||
<Badge v-if="agent.no_schedule" :value="$t('disabled')" />
|
||||
<Badge
|
||||
v-if="isAdmin === true && agent.org_id !== -1"
|
||||
:label="$t('admin.settings.agents.org.badge')"
|
||||
|
||||
Reference in New Issue
Block a user