mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
- Implement emails.js in backend as well. - Move backend links.js into emails.js, because code is not a duplicate of webapp anymore.
44 lines
1.1 KiB
Vue
44 lines
1.1 KiB
Vue
<template>
|
|
<div>
|
|
<ds-space margin="small">
|
|
<ds-heading v-if="pageParams.internalPage.headlineIdent !== null" tag="h2">
|
|
{{
|
|
$t(
|
|
pageParams.internalPage.headlineIdent,
|
|
)
|
|
}}
|
|
</ds-heading>
|
|
</ds-space>
|
|
<ds-container v-if="pageParams.internalPage.hasContainer">
|
|
<div v-if="!pageParams.internalPage.hasBaseCard">
|
|
<br />
|
|
<div v-html="$t(pageParams.internalPage.htmlIdent)" />
|
|
</div>
|
|
<base-card v-else>
|
|
<div v-html="$t(pageParams.internalPage.htmlIdent)" />
|
|
</base-card>
|
|
</ds-container>
|
|
<div v-else-if="!pageParams.internalPage.hasBaseCard">
|
|
<br />
|
|
<div v-html="$t(pageParams.internalPage.htmlIdent)" />
|
|
</div>
|
|
<base-card v-else>
|
|
<div v-html="$t(pageParams.internalPage.htmlIdent)" />
|
|
</base-card>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'InternalPage',
|
|
head() {
|
|
return {
|
|
title: this.$t(this.pageParams.internalPage.headTitleIdent),
|
|
}
|
|
},
|
|
props: {
|
|
pageParams: { type: Object, required: true },
|
|
},
|
|
}
|
|
</script>
|