summaryrefslogtreecommitdiffstats
path: root/src/models
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-06-04 08:22:25 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-06-04 13:15:38 +0200
commit4b8ee4e17aebb12904ea906633a3e735bfcfeb65 (patch)
treeb7090320e6a1690be6183b65207bcf7ba81998a1 /src/models
parentce3bf333752d06926df335fa877e8443a89b1f91 (diff)
Show explanatory description on empty circles list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/models')
-rw-r--r--src/models/constants.d.ts1
-rw-r--r--src/models/constants.ts2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/models/constants.d.ts b/src/models/constants.d.ts
index 219de065..b2aaa26c 100644
--- a/src/models/constants.d.ts
+++ b/src/models/constants.d.ts
@@ -28,6 +28,7 @@ export declare const GROUP_NO_GROUP_CONTACTS: string;
export declare const GROUP_RECENTLY_CONTACTED: string;
export declare const ROUTE_CIRCLE = "circle";
export declare const ELLIPSIS_COUNT = 5;
+export declare const CIRCLE_DESC: string;
export declare const CIRCLES_MEMBER_TYPES: {
[x: number]: string;
};
diff --git a/src/models/constants.ts b/src/models/constants.ts
index 99a262aa..ae7b4374 100644
--- a/src/models/constants.ts
+++ b/src/models/constants.ts
@@ -61,6 +61,8 @@ const MEMBER_TYPE_MAIL: MemberType = 4
const MEMBER_TYPE_CONTACT: MemberType = 8
const MEMBER_TYPE_CIRCLE: MemberType = 16
+export const CIRCLE_DESC = t('contacts', 'Circles allow you to create groups with other users on a Nextcloud instance and share with them.')
+
// Circles config flags
const CIRCLE_CONFIG_SYSTEM: CircleConfig = 4 // System Circle (not managed by the official front-end). Meaning some config are limited
const CIRCLE_CONFIG_VISIBLE: CircleConfig = 8 // Visible to everyone, if not visible, people have to know its name to be able to find it