| @@ -215,15 +215,21 @@ matrix_synapse_admin_config_corsCredentials: "same-origin" # noqa var-naming | |||||
| # Controls the menu configuration setting, which, if defined, adds new menu items to the Synapse Admin UI. | # Controls the menu configuration setting, which, if defined, adds new menu items to the Synapse Admin UI. | ||||
| # The format is a list of objects, where each object has the following keys: | # The format is a list of objects, where each object has the following keys: | ||||
| # - `label` (string): The label of the menu item. | |||||
| # - `icon` (string): The icon of the menu item, one of the https://github.com/etkecc/synapse-admin/blob/main/src/components/icons.ts | |||||
| # - `url` (string): The URL of the menu item. | |||||
| # - `label` (string, required): The label of the menu item. | |||||
| # - `i18n` (dict, optional): Dictionary of translations for the label. The keys should be BCP 47 language tags (e.g., en, fr, de) supported by Synapse Admin (see src/i18n). | |||||
| # - `icon` (string, optional): The icon of the menu item, one of the https://github.com/etkecc/synapse-admin/blob/main/src/components/icons.ts | |||||
| # - `url` (string, required): The URL of the menu item. | |||||
| # Example: | # Example: | ||||
| # [ | # [ | ||||
| # { | # { | ||||
| # "label": "Contact support", | # "label": "Contact support", | ||||
| # "i18n": { | |||||
| # "de": "Support kontaktieren", | |||||
| # "fr": "Contacter le support", | |||||
| # "zh": "联系支持" | |||||
| # }, | |||||
| # "icon": "SupportAgent", | # "icon": "SupportAgent", | ||||
| # "url": "https://github.com/spantaleev/matrix-docker-ansible-deploy/issues" | |||||
| # "url": "https://github.com/etkecc/synapse-admin/issues" | |||||
| # } | # } | ||||
| # ] | # ] | ||||
| matrix_synapse_admin_config_menu: [] | matrix_synapse_admin_config_menu: [] | ||||