Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Added changes for Issue 4044 (#4199)

Srilekha455eff18e70d
diff --git a/web/i18n/en/translation.json b/web/i18n/en/translation.json
index e0cc0ea5d8..126eb79abf 100644
--- a/web/i18n/en/translation.json
+++ b/web/i18n/en/translation.json
@@ -71,6 +71,8 @@
"Banned Users": "Banned Users",
"IP Bans": "IP Bans",
"Moderators": "Moderators",
+ "Bring in moderators to help keep your chat in order": "Bring in moderators to help keep your chat in order.",
+ "Learn more about chat moderation here": "Learn more about chat moderation here.",
"Hardware Info": "Hardware Info",
"Please wait": "Please wait",
"No hardware details have been collected yet": "No hardware details have been collected yet.",
diff --git a/web/pages/admin/chat/users.tsx b/web/pages/admin/chat/users.tsx
index d8e942ec1d..58175bdca1 100644
--- a/web/pages/admin/chat/users.tsx
+++ b/web/pages/admin/chat/users.tsx
@@ -1,6 +1,8 @@
import React, { useState, useEffect, useContext, ReactElement } from 'react';
import { Tabs } from 'antd';
import { useTranslation } from 'next-export-i18n';
+import Link from 'antd/lib/typography/Link';
+import Text from 'antd/lib/typography/Text';
import { ServerStatusContext } from '../../../utils/server-status-context';
import {
CONNECTED_CLIENTS,
@@ -117,7 +119,21 @@ export default function ChatUsers() {
{t('Moderators')} ({moderators.length})
</span>
);
- const moderatorTable = <UserTable data={moderators} />;
+ const moderatorTable = (
+ <>
+ <p>
+ <Text type="secondary"> {t('Bring in moderators to help keep your chat in order.')} </Text>
+ <Link
+ href="https://owncast.online/docs/chat/moderation/"
+ rel="noopener noreferrer"
+ target="_blank"
+ >
+ {t('Learn more about chat moderation here.')}
+ </Link>
+ </p>
+ <UserTable data={moderators} />
+ </>
+ );
const items = [
{ label: connectedUserTabTitle, key: '1', children: connectedUsers },