mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
add hint about bubble timeline roles
This commit is contained in:
parent
33e0b13916
commit
7c5e0ce4ab
3 changed files with 11 additions and 0 deletions
4
locales/index.d.ts
vendored
4
locales/index.d.ts
vendored
|
@ -13037,6 +13037,10 @@ export interface Locale extends ILocale {
|
||||||
* Choose which instances should be displayed in the bubble.
|
* Choose which instances should be displayed in the bubble.
|
||||||
*/
|
*/
|
||||||
"bubbleTimelineDescription": string;
|
"bubbleTimelineDescription": string;
|
||||||
|
/**
|
||||||
|
* Note: the bubble timeline is hidden by default, and must be enabled via roles.
|
||||||
|
*/
|
||||||
|
"bubbleTimelineMustBeEnabled": string;
|
||||||
}
|
}
|
||||||
declare const locales: {
|
declare const locales: {
|
||||||
[lang: string]: Locale;
|
[lang: string]: Locale;
|
||||||
|
|
|
@ -31,9 +31,14 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template #label>{{ i18n.ts.bubbleTimeline }}</template>
|
<template #label>{{ i18n.ts.bubbleTimeline }}</template>
|
||||||
|
|
||||||
<div class="_gaps">
|
<div class="_gaps">
|
||||||
|
<div v-if="!$i.policies.btlAvailable">
|
||||||
|
<i class="ti ti-alert-triangle"></i> {{ i18n.ts.bubbleTimelineMustBeEnabled }}
|
||||||
|
</div>
|
||||||
|
|
||||||
<MkTextarea v-model="bubbleTimeline">
|
<MkTextarea v-model="bubbleTimeline">
|
||||||
<template #caption>{{ i18n.ts.bubbleTimelineDescription }}</template>
|
<template #caption>{{ i18n.ts.bubbleTimelineDescription }}</template>
|
||||||
</MkTextarea>
|
</MkTextarea>
|
||||||
|
|
||||||
<MkButton primary @click="save_bubbleTimeline">{{ i18n.ts.save }}</MkButton>
|
<MkButton primary @click="save_bubbleTimeline">{{ i18n.ts.save }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
|
@ -178,6 +183,7 @@ import MkButton from '@/components/MkButton.vue';
|
||||||
import FormLink from '@/components/form/link.vue';
|
import FormLink from '@/components/form/link.vue';
|
||||||
import MkFolder from '@/components/MkFolder.vue';
|
import MkFolder from '@/components/MkFolder.vue';
|
||||||
import SkPatternTest from '@/components/SkPatternTest.vue';
|
import SkPatternTest from '@/components/SkPatternTest.vue';
|
||||||
|
import { $i } from '@/i';
|
||||||
|
|
||||||
const enableRegistration = ref<boolean>(false);
|
const enableRegistration = ref<boolean>(false);
|
||||||
const emailRequiredForSignup = ref<boolean>(false);
|
const emailRequiredForSignup = ref<boolean>(false);
|
||||||
|
|
|
@ -562,3 +562,4 @@ wordMuteTestNoMatch: "Text does not match any patterns."
|
||||||
|
|
||||||
bubbleTimeline: "Bubble timeline"
|
bubbleTimeline: "Bubble timeline"
|
||||||
bubbleTimelineDescription: "Choose which instances should be displayed in the bubble."
|
bubbleTimelineDescription: "Choose which instances should be displayed in the bubble."
|
||||||
|
bubbleTimelineMustBeEnabled: "Note: the bubble timeline is hidden by default, and must be enabled via roles."
|
||||||
|
|
Loading…
Add table
Reference in a new issue