1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-06 08:16:19 +02:00

Fix tabs URLs to be language agnostic (#995)

This commit is contained in:
Lauris BH 2022-06-20 20:47:33 +03:00 committed by GitHub
parent 14e1520bf9
commit 415dfb9c46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -6,19 +6,19 @@
</div>
<Tabs>
<Tab :title="$t('repo.settings.general.general')">
<Tab id="general" :title="$t('repo.settings.general.general')">
<GeneralTab />
</Tab>
<Tab :title="$t('repo.settings.secrets.secrets')">
<Tab id="secrets" :title="$t('repo.settings.secrets.secrets')">
<SecretsTab />
</Tab>
<Tab :title="$t('repo.settings.registries.registries')">
<Tab id="registries" :title="$t('repo.settings.registries.registries')">
<RegistriesTab />
</Tab>
<Tab :title="$t('repo.settings.badge.badge')">
<Tab id="badge" :title="$t('repo.settings.badge.badge')">
<BadgeTab />
</Tab>
<Tab :title="$t('repo.settings.actions.actions')">
<Tab id="actions" :title="$t('repo.settings.actions.actions')">
<ActionsTab />
</Tab>
</Tabs>

View File

@ -23,8 +23,8 @@
</div>
<Tabs v-model="activeTab" disable-hash-mode class="mb-4">
<Tab :title="$t('repo.activity')" />
<Tab :title="$t('repo.branches')" />
<Tab id="activity" :title="$t('repo.activity')" />
<Tab id="branches" :title="$t('repo.branches')" />
</Tabs>
<router-view />