From eec6ed36cdf03ccaeaa712e33439ab668c3a63e3 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 26 Oct 2017 14:05:58 +0100 Subject: [PATCH] Use correct icon for group room deletion and make themeable Also fix cancel icons to have class mx_filterFlipColor --- src/components/structures/UserSettings.js | 7 +++++-- src/components/views/groups/GroupMemberInfo.js | 2 +- src/components/views/groups/GroupRoomTile.js | 7 +++++-- src/components/views/rooms/LinkPreviewWidget.js | 5 +++-- src/components/views/rooms/PinnedEventsPanel.js | 4 +++- src/components/views/rooms/RoomHeader.js | 7 +++++-- src/i18n/strings/en_EN.json | 3 ++- 7 files changed, 24 insertions(+), 11 deletions(-) diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index ac1c6b662b..68ea932f93 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -1332,8 +1332,11 @@ module.exports = React.createClass({
- {_t("Remove + {_t("Remove
- +
{ avatar } diff --git a/src/components/views/groups/GroupRoomTile.js b/src/components/views/groups/GroupRoomTile.js index 23e53996e3..94dc8e593f 100644 --- a/src/components/views/groups/GroupRoomTile.js +++ b/src/components/views/groups/GroupRoomTile.js @@ -120,8 +120,11 @@ const GroupRoomTile = React.createClass({
{ this.state.name }
- - + + ); diff --git a/src/components/views/rooms/LinkPreviewWidget.js b/src/components/views/rooms/LinkPreviewWidget.js index 10c809e0f1..d69a8fbcf1 100644 --- a/src/components/views/rooms/LinkPreviewWidget.js +++ b/src/components/views/rooms/LinkPreviewWidget.js @@ -133,8 +133,9 @@ module.exports = React.createClass({ { p["og:description"] }
- +
); }, diff --git a/src/components/views/rooms/PinnedEventsPanel.js b/src/components/views/rooms/PinnedEventsPanel.js index deea03f030..5b1b8a4590 100644 --- a/src/components/views/rooms/PinnedEventsPanel.js +++ b/src/components/views/rooms/PinnedEventsPanel.js @@ -95,7 +95,9 @@ module.exports = React.createClass({ return (
- + + +

{ _t("Pinned Messages") }

{ tiles }
diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js index 4df0ff738c..4dfbdb3644 100644 --- a/src/components/views/rooms/RoomHeader.js +++ b/src/components/views/rooms/RoomHeader.js @@ -281,8 +281,11 @@ module.exports = React.createClass({
- {_t("Remove + {_t("Remove
); diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index b1dbfcfa0c..5ea42021dd 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -239,6 +239,7 @@ "Unignore": "Unignore", "Ignore": "Ignore", "Jump to read receipt": "Jump to read receipt", + "Invite": "Invite", "User Options": "User Options", "Direct chats": "Direct chats", "Unmute": "Unmute", @@ -249,7 +250,6 @@ "Level:": "Level:", "and %(count)s others...|other": "and %(count)s others...", "and %(count)s others...|one": "and one other...", - "Invite": "Invite", "Invited": "Invited", "Filter room members": "Filter room members", "%(userName)s (power %(powerLevelNumber)s)": "%(userName)s (power %(powerLevelNumber)s)", @@ -495,6 +495,7 @@ "Are you sure you want to remove '%(roomName)s' from %(groupId)s?": "Are you sure you want to remove '%(roomName)s' from %(groupId)s?", "Removing a room from the community will also remove it from the community page.": "Removing a room from the community will also remove it from the community page.", "Remove": "Remove", + "Remove this room from the community": "Remove this room from the community", "Unknown Address": "Unknown Address", "NOTE: Apps are not end-to-end encrypted": "NOTE: Apps are not end-to-end encrypted", "Do you want to load widget from URL:": "Do you want to load widget from URL:",