This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/routes/queerTerms.vue

42 lines
1.0 KiB
Vue
Raw Normal View History

<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>