From bdceafaec0a1480309137655c9b34f0ae1f87354 Mon Sep 17 00:00:00 2001 From: tecc Date: Sun, 25 Jun 2023 15:30:46 +0200 Subject: [PATCH 1/2] change(ban-templates): Add suicide encouragement template, rename templates --- components/Ban.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/components/Ban.vue b/components/Ban.vue index 539a8ec82..c92159fa5 100644 --- a/components/Ban.vue +++ b/components/Ban.vue @@ -205,15 +205,24 @@ banProposals: [], modMessageTemplates: { - termsWarning: `Hi! + 'Generic content warning': `Hi! -The following content is in breach of our TOS which can be found at https://en.pronouns.page/terms +The following content is in breach of our Terms of Service (https://en.pronouns.page/terms): To keep our platform safe and inclusive, please remove this content. Thanks!`, + 'Suicide encouragement warning': `Hi! + + +Suicide encouragement is prohibited by our Terms of Service (https://en.pronouns.page/terms). + +To keep our platform safe and inclusive, please remove this content. + +Thanks! +` } } }, From b2c295f83384b11d9411eb2a38af85f04e4475a0 Mon Sep 17 00:00:00 2001 From: tecc Date: Sun, 25 Jun 2023 15:38:42 +0200 Subject: [PATCH 2/2] fix(admin): Make "stats calculated at" display only show if it isn't nullish --- routes/admin.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/admin.vue b/routes/admin.vue index bf67f9de5..3869ddff7 100644 --- a/routes/admin.vue +++ b/routes/admin.vue @@ -9,7 +9,7 @@ admin.header -

+

Stats calculated at: {{$datetime(stats.calculatedAt)}}