mirror of
https://github.com/vatesfr/xen-orchestra.git
synced 2026-09-10 22:14:48 -05:00
feat(xo6/backups): add header title (#10303)
This commit is contained in:
committed by
GitHub
parent
2ebf18a636
commit
cdc4ddb652
@@ -1,15 +1,24 @@
|
||||
<template>
|
||||
<div class="breadcrumb-container">
|
||||
<UiBreadcrumb :size>
|
||||
<UiLink :size :to="{ name: '/(site)/dashboard' }" icon="fa:satellite">{{ XOA_NAME }}</UiLink>
|
||||
<span class="breadcrumb-item">
|
||||
<VtsIcon name="fa:satellite" size="current" />
|
||||
<UiLink :size :to="{ name: '/(site)/dashboard' }">{{ XOA_NAME }}</UiLink>
|
||||
</span>
|
||||
<UiLink :size :to="{ name: '/(site)/backups' }">{{ t('backups') }}</UiLink>
|
||||
<span class="backup-job-name">
|
||||
<span class="breadcrumb-item">
|
||||
<VtsIcon name="object:backup-job" size="current" />
|
||||
{{ backupJob.name }}
|
||||
</span>
|
||||
</UiBreadcrumb>
|
||||
<UiLink :size :href="newBackupRoute">{{ t('configure-in-xo-5') }}</UiLink>
|
||||
</div>
|
||||
<UiHeadBar>
|
||||
<template #icon>
|
||||
<VtsIcon name="object:backup-job" size="current" />
|
||||
</template>
|
||||
{{ backupJob.name }}
|
||||
</UiHeadBar>
|
||||
<TabList>
|
||||
<RouterLink v-slot="{ isActive, href }" :to="{ name: '/backup/[id]/runs', params: { id: backupJob.id } }" custom>
|
||||
<TabItem :active="isActive" :href tag="a">
|
||||
@@ -50,6 +59,7 @@ import VtsIcon from '@core/components/icon/VtsIcon.vue'
|
||||
import TabItem from '@core/components/tab/TabItem.vue'
|
||||
import TabList from '@core/components/tab/TabList.vue'
|
||||
import UiBreadcrumb from '@core/components/ui/breadcrumb/UiBreadcrumb.vue'
|
||||
import UiHeadBar from '@core/components/ui/head-bar/UiHeadBar.vue'
|
||||
import UiLink from '@core/components/ui/link/UiLink.vue'
|
||||
import { useUiStore } from '@core/stores/ui.store.ts'
|
||||
import { computed } from 'vue'
|
||||
@@ -78,7 +88,7 @@ const size = computed(() => (uiStore.isSmall ? 'small' : 'medium'))
|
||||
justify-content: space-between;
|
||||
overflow-y: auto;
|
||||
|
||||
.backup-job-name {
|
||||
.breadcrumb-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.8rem;
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
> Users must be able to say: "Nice enhancement, I'm eager to test it"
|
||||
|
||||
- [i18n] Add Arabic and update Czech, Dutch, Finnish, Portuguese (Brasil), Slovak and Swedish translations (PR [#10181](https://github.com/vatesfr/xen-orchestra/pull/10181))
|
||||
- [XO6/Backups] Add header title on backup job detail page (PR [#10303](https://github.com/vatesfr/xen-orchestra/pull/10303))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user