Skip to content

Commit

Permalink
Add version number
Browse files Browse the repository at this point in the history
Signed-off-by: Marco <[email protected]>
  • Loading branch information
marcoambrosini committed Nov 1, 2023
1 parent f07d706 commit 9b03a8f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/components/Page3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
:title="t('firstrunwizard', 'For large organisations ↗')"
:subtitle="t('firstrunwizard', 'Get Nextcloud Enterprise for mission critical environments where advanced security and compliance are important.')" />
</div>
<p class="version-number">
{{ versionNumbrer }}
</p>
</div><NcButton type="primary"
alignment="center-reverse"
:wide="true"
Expand All @@ -38,9 +41,25 @@ export default {
NcButton,
Card,
},
computed: {
versionNumbrer() {
return t('firstrunwizard ', 'This Nextcloud is on version ') + OC.config.versionstring
},
},
}
</script>

<style lang="scss" scoped>
@import "pageStyles";
.page__content {
margin: calc(var(--default-grid-baseline) * 10) 0 calc(var(--default-grid-baseline) * 4) 0;
}
.version-number {
margin: 0px 0 calc(var(--default-grid-baseline) * 4) 0;
color: var(--color-text-maxcontrast);
text-align: center;
}
</style>

0 comments on commit 9b03a8f

Please sign in to comment.