2020-02-18 08:57:00 +01:00
|
|
|
<template>
|
|
|
|
<aside class="section container">
|
|
|
|
<h1 class="title">{{ $t("Settings") }}</h1>
|
|
|
|
<div class="columns">
|
2020-06-25 11:36:35 +02:00
|
|
|
<aside class="column is-one-quarter-desktop">
|
|
|
|
<ul>
|
|
|
|
<SettingMenuSection :title="$t('Settings')" :to="{ name: RouteName.GROUP_SETTINGS }">
|
|
|
|
<SettingMenuItem
|
|
|
|
:title="this.$t('Public')"
|
|
|
|
:to="{ name: RouteName.GROUP_PUBLIC_SETTINGS }"
|
|
|
|
/>
|
|
|
|
<SettingMenuItem
|
|
|
|
:title="this.$t('Members')"
|
|
|
|
:to="{ name: RouteName.GROUP_MEMBERS_SETTINGS }"
|
|
|
|
/>
|
|
|
|
</SettingMenuSection>
|
|
|
|
</ul>
|
|
|
|
</aside>
|
2020-02-18 08:57:00 +01:00
|
|
|
<div class="column">
|
|
|
|
<router-view />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</aside>
|
|
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
|
|
import { Component, Vue, Watch } from "vue-property-decorator";
|
|
|
|
import { Route } from "vue-router";
|
|
|
|
import { IGroup, IPerson } from "@/types/actor";
|
|
|
|
import { FETCH_GROUP } from "@/graphql/actor";
|
|
|
|
import RouteName from "../../router/name";
|
2020-06-25 11:36:35 +02:00
|
|
|
import SettingMenuSection from "../../components/Settings/SettingMenuSection.vue";
|
|
|
|
import SettingMenuItem from "../../components/Settings/SettingMenuItem.vue";
|
2020-02-18 08:57:00 +01:00
|
|
|
|
|
|
|
@Component({
|
2020-06-25 11:36:35 +02:00
|
|
|
components: { SettingMenuSection, SettingMenuItem },
|
2020-02-18 08:57:00 +01:00
|
|
|
})
|
|
|
|
export default class Settings extends Vue {
|
|
|
|
RouteName = RouteName;
|
|
|
|
|
|
|
|
group!: IGroup[];
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
aside.section {
|
|
|
|
padding-top: 1rem;
|
|
|
|
}
|
|
|
|
</style>
|