42 lines
1.0 KiB
Vue
42 lines
1.0 KiB
Vue
<template>
|
|
<div v-if="config.nouns.terms.published || $isGranted('terms')">
|
|
<NounsNav/>
|
|
|
|
<h2>
|
|
<Icon v="flag"/>
|
|
<T>nouns.terms.headerLong</T>
|
|
</h2>
|
|
|
|
<section>
|
|
<T>nouns.terms.info</T>
|
|
<Share :title="$t('nouns.terms.headerLong')"/>
|
|
</section>
|
|
|
|
<TermsDictionary load ref="termsdictionary"/>
|
|
</div>
|
|
<NotFound v-else/>
|
|
</template>
|
|
|
|
<script>
|
|
import { head } from "../src/helpers";
|
|
import hash from "../plugins/hash";
|
|
import NounsNav from "../data/nouns/NounsNav.vue";
|
|
|
|
export default {
|
|
components: { NounsNav },
|
|
|
|
mixins: [ hash ],
|
|
mounted() {
|
|
this.handleHash(this.config.nouns.terms.hashNamespace || '', filter => {
|
|
this.$refs.termsdictionary.setFilter(filter);
|
|
});
|
|
},
|
|
head() {
|
|
return head({
|
|
title: this.$t('nouns.terms.headerLong'),
|
|
description: this.$t('nouns.terms.info')[0],
|
|
});
|
|
},
|
|
}
|
|
</script>
|