Skip to content

Commit a2a5ee3

Browse files
committed
fix: Move version information to first page
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent f1e39d7 commit a2a5ee3

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

src/components/pages/AboutNextcloud.vue

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
<Card href="https://nextcloud.com/enterprise/"
1818
:title="t('firstrunwizard', 'For large organisations ↗')"
1919
:subtitle="t('firstrunwizard', 'Get Nextcloud Enterprise for mission critical environments where advanced security and compliance are important.')" />
20-
21-
<p :class="$style.version">
22-
{{ versionNumber }}
23-
</p>
2420
</WizardPage>
2521
</template>
2622

@@ -29,14 +25,4 @@ import { translate as t } from '@nextcloud/l10n'
2925
3026
import Card from '../Card.vue'
3127
import WizardPage from '../WizardPage.vue'
32-
33-
const versionNumber = t('firstrunwizard', 'This Nextcloud is on version {version}', { version: window.OC.config.versionstring })
3428
</script>
35-
36-
<style module>
37-
.version {
38-
color: var(--color-text-maxcontrast);
39-
margin-block: calc(var(--default-grid-baseline) * 4) 0;
40-
text-align: center;
41-
}
42-
</style>

src/components/pages/KeyNotes.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
:subtitle="t('firstrunwizard', 'Enjoy constant improvements from a thriving open-source community.')">
2323
<NcIconSvgWrapper :class="$style.icon" inline :path="mdiAccountGroup" />
2424
</Card>
25+
26+
<p :class="$style.version">
27+
{{ versionNumber }}
28+
</p>
2529
</WizardPage>
2630
</template>
2731

@@ -36,10 +40,18 @@ import WizardPage from '../WizardPage.vue'
3640
defineProps<{
3741
scrollerClasses?: string | string[] | Record<string, boolean>
3842
}>()
43+
44+
const versionNumber = t('firstrunwizard', 'This Nextcloud is on version {version}', { version: window.OC.config.versionstring })
3945
</script>
4046

4147
<style module>
4248
.icon {
4349
margin-block: calc((1lh - 20px) / 2);
4450
}
51+
52+
.version {
53+
color: var(--color-text-maxcontrast);
54+
margin-block: calc(var(--default-grid-baseline) * 4) 0;
55+
text-align: center;
56+
}
4557
</style>

0 commit comments

Comments
 (0)