[tok] try out no pronouns on cards

This commit is contained in:
Theodore Dubois 2023-02-24 16:18:44 -08:00
parent 579190bf70
commit 671c7e8baf
3 changed files with 3 additions and 2 deletions

View File

@ -84,7 +84,7 @@
<T>profile.pronouns</T>
</h3>
<ExpandableList :values="pronounOpinions" :limit="16" class="list-unstyled" :static="static" :expand="expandLinks">
<ExpandableList :values="pronounOpinions" :limit="16" class="list-unstyled" :static="static" :expand="expandLinks" v-if="!config.profile.noPronouns">
<template v-slot="s">
<Opinion :word="typeof s.el.pronoun === 'string' ? s.el.pronoun : s.el.pronoun.name(glue)" :opinion="s.el.opinion" :link="`${config.pronouns.prefix || ''}/${s.el.link}`" :customOpinions="profile.opinions"/>
</template>

View File

@ -117,6 +117,7 @@ profile:
flags:
defaultPronoun: 'ona'
longNames: true
noPronouns: true
calendar:
enabled: false

View File

@ -17,7 +17,7 @@
</div>
<form @submit.prevent="save" :class="[saving ? 'saving' : '']">
<TabsNav :tabs="['opinions', 'names', 'pronouns', 'description', 'flags', 'links', 'birthday', 'timezone', 'words', 'circle', 'sensitive', $isGranted() ? 'admin' : undefined]"
<TabsNav :tabs="['opinions', 'names', !config.profile.noPronouns ? 'pronouns' : undefined, 'description', 'flags', 'links', 'birthday', 'timezone', 'words', 'circle', 'sensitive', $isGranted() ? 'admin' : undefined]"
pills showheaders navclass="mb-3 border-bottom-0">
<template v-slot:admin-header>
<Icon v="user-cog"/>