diff --git a/res/css/structures/_UserMenu.scss b/res/css/structures/_UserMenu.scss index 84c21364ce..014e7b4213 100644 --- a/res/css/structures/_UserMenu.scss +++ b/res/css/structures/_UserMenu.scss @@ -276,6 +276,9 @@ limitations under the License. .mx_UserMenu_iconHome::before { mask-image: url('$(res)/img/element-icons/roomlist/home.svg'); } + .mx_UserMenu_iconHosting::before { + mask-image: url('$(res)/img/element-icons/roomlist/home.svg'); + } .mx_UserMenu_iconBell::before { mask-image: url('$(res)/img/element-icons/notifications.svg'); diff --git a/src/components/structures/HostingSignupAction.tsx b/src/components/structures/HostingSignupAction.tsx index 15327f5bd7..d7bc9c1d54 100644 --- a/src/components/structures/HostingSignupAction.tsx +++ b/src/components/structures/HostingSignupAction.tsx @@ -17,6 +17,11 @@ limitations under the License. import * as React from "react"; import Modal from "../../Modal"; import HostingSignupDialog from "../views/dialogs/HostingSignupDialog"; +import IconizedContextMenu, { + IconizedContextMenuOption, + IconizedContextMenuOptionList, +} from "../views/context_menus/IconizedContextMenu"; +import { _t } from "../../languageHandler"; interface IProps {} @@ -50,9 +55,13 @@ export default class HostingSignupAction extends React.PureComponent - Get your own personal Element! - + + this.openDialog()} + /> + ); } } diff --git a/src/components/structures/UserMenu.tsx b/src/components/structures/UserMenu.tsx index fa46f190e1..8022bcb3a4 100644 --- a/src/components/structures/UserMenu.tsx +++ b/src/components/structures/UserMenu.tsx @@ -322,7 +322,7 @@ export default class UserMenu extends React.Component { const validDomains = hostingSignupDomains.filter(d => (d === mxDomain || mxDomain.endsWith(`.${d}`))); if (!hostingSignupDomains || validDomains.length > 0) { hostingSignupIFrame =
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 0db285dc8d..ea3e4a117f 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -2462,6 +2462,7 @@ "Got an account? Sign in": "Got an account? Sign in", "New here? Create an account": "New here? Create an account", "Notification settings": "Notification settings", + "Get your own Element!": "Get your own Element!", "Security & privacy": "Security & privacy", "All settings": "All settings", "Community settings": "Community settings",