Introduce group basic federation, event new page and notifications

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-02-18 08:57:00 +01:00
parent 300ef8f245
commit 4144e9ffd0
416 changed files with 32220 additions and 16750 deletions

View File

@@ -1,19 +1,16 @@
<template>
<div class="container section">
<h2 class="title">{{ $t('Privacy Policy')}}</h2>
<div class="content" v-html="config.terms.bodyHtml" />
</div>
<div class="container section">
<h2 class="title">{{ $t("Privacy Policy") }}</h2>
<div class="content" v-html="config.terms.bodyHtml" />
</div>
</template>
<script lang="ts">
import {
Component,
Vue, Watch,
} from 'vue-property-decorator';
import { TERMS } from '@/graphql/config';
import { IConfig } from '@/types/config.model';
import { RouteName } from '@/router';
import { InstanceTermsType } from '@/types/admin.model';
import { Component, Vue, Watch } from "vue-property-decorator";
import { TERMS } from "@/graphql/config";
import { IConfig } from "@/types/config.model";
import { InstanceTermsType } from "@/types/admin.model";
import RouteName from "../router/name";
@Component({
apollo: {
@@ -32,13 +29,14 @@ import { InstanceTermsType } from '@/types/admin.model';
})
export default class Terms extends Vue {
config!: IConfig;
locale: string|null = null;
locale: string | null = null;
created() {
this.locale = this.$i18n.locale;
}
@Watch('config', { deep: true })
@Watch("config", { deep: true })
watchConfig(config: IConfig) {
if (config.terms.type) {
console.log(this.config.terms);
@@ -55,10 +53,10 @@ export default class Terms extends Vue {
RouteName = RouteName;
}
</script>
<style lang="scss">
@import "@/variables.scss";
<style lang="scss" scoped>
@import "@/variables.scss";
main > .container {
background: $white;
}
</style>
main > .container {
background: $white;
}
</style>