Add disabled badge to agents (#5593)

This commit is contained in:
Robert Kaussow
2025-10-02 16:40:49 +02:00
committed by GitHub
parent a68111fb24
commit 3bd8913b41
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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"
}
+1
View File
@@ -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')"