1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +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> </div>
<Tabs> <Tabs>
<Tab :title="$t('repo.settings.general.general')"> <Tab id="general" :title="$t('repo.settings.general.general')">
<GeneralTab /> <GeneralTab />
</Tab> </Tab>
<Tab :title="$t('repo.settings.secrets.secrets')"> <Tab id="secrets" :title="$t('repo.settings.secrets.secrets')">
<SecretsTab /> <SecretsTab />
</Tab> </Tab>
<Tab :title="$t('repo.settings.registries.registries')"> <Tab id="registries" :title="$t('repo.settings.registries.registries')">
<RegistriesTab /> <RegistriesTab />
</Tab> </Tab>
<Tab :title="$t('repo.settings.badge.badge')"> <Tab id="badge" :title="$t('repo.settings.badge.badge')">
<BadgeTab /> <BadgeTab />
</Tab> </Tab>
<Tab :title="$t('repo.settings.actions.actions')"> <Tab id="actions" :title="$t('repo.settings.actions.actions')">
<ActionsTab /> <ActionsTab />
</Tab> </Tab>
</Tabs> </Tabs>

View File

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