UX: adds chat section in settings and hide it in plugins (#18984)

This commit is contained in:
Joffrey JAFFEUX 2022-11-11 12:43:20 +01:00 committed by GitHub
parent 5bd0e31c61
commit 795687160d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 2 deletions

View File

@ -13,7 +13,7 @@
</thead> </thead>
<tbody> <tbody>
{{#each this.model as |plugin|}} {{#each this.model as |plugin|}}
<tr> <tr data-plugin-name={{plugin.name}}>
<td> <td>
{{#if plugin.is_official}} {{#if plugin.is_official}}
{{d-icon "check-circle" {{d-icon "check-circle"

View File

@ -4,3 +4,9 @@
display: none; display: none;
} }
} }
.admin-plugins {
[data-plugin-name="chat"] {
display: none;
}
}

View File

@ -1,6 +1,9 @@
en: en:
js: js:
admin: admin:
site_settings:
categories:
chat: Chat
logs: logs:
staff_actions: staff_actions:
actions: actions:

View File

@ -1,4 +1,4 @@
plugins: chat:
chat_enabled: chat_enabled:
default: false default: false
client: true client: true