diff --git a/res/css/views/dialogs/_RoomSettingsDialog.scss b/res/css/views/dialogs/_RoomSettingsDialog.scss
index aa66e97f9e..0e8deb018e 100644
--- a/res/css/views/dialogs/_RoomSettingsDialog.scss
+++ b/res/css/views/dialogs/_RoomSettingsDialog.scss
@@ -63,9 +63,59 @@ limitations under the License.
.mx_RoomSettingsDialog_BridgeList li {
list-style-type: none;
padding: 5px;
- margin-bottom: 5px;
- border-width: 1px 0px;
- border-color: #dee1f3;
- border-style: solid;
+ margin-bottom: 8px;
+ border-width: 1px 1px;
+ border-color: $primary-hairline-color;
+ border-radius: 5px;
+
+ .protocol-icon {
+ float: left;
+ margin-right: 30px;
+ img {
+ border-radius: 5px;
+ border-width: 1px 1px;
+ border-color: $primary-hairline-color;
+ border-style: solid;
+ }
+ span {
+ /* Correct letter placement */
+ left: auto;
+ }
+ }
+
+ h3 {
+ margin-top: 0;
+ margin-bottom: 4px;
+ font-size: 16pt;
+ }
+
+ .column-icon {
+ float: left;
+ }
+
+ .column-data {
+ display: inline-block;
+ width: 85%;
+ }
+
+ .workspace-channel-details {
+ margin-top: 0;
+ color: $primary-fg-color;
+ }
+
+ .metadata {
+ color: $muted-fg-color;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ margin-bottom: 0;
+ }
+
+ .metadata.visible {
+ overflow-y: visible;
+ text-overflow: ellipsis;
+ white-space: normal;
+ }
+
}
diff --git a/src/components/views/dialogs/RoomSettingsDialog.js b/src/components/views/dialogs/RoomSettingsDialog.js
index a99141870b..76faf60eef 100644
--- a/src/components/views/dialogs/RoomSettingsDialog.js
+++ b/src/components/views/dialogs/RoomSettingsDialog.js
@@ -54,9 +54,6 @@ export default class RoomSettingsDialog extends React.Component {
_getTabs() {
const tabs = [];
- const featureFlag = SettingsStore.isFeatureEnabled("feature_bridge_state");
- const shouldShowBridgeIcon = featureFlag &&
- BridgeSettingsTab.getBridgeStateEvents(this.props.roomId).length > 0;
tabs.push(new Tab(
_td("General"),
@@ -79,9 +76,9 @@ export default class RoomSettingsDialog extends React.Component {
{ _t("This bridge was provisioned by
{_t("This bridge is managed by
{_t("Connected via %(protocolName)s", { protocolName })}
-{chanAndNetworkInfo}
-+ {workspaceChannelDetails} +
++ {creator} {bot} +
+ this._showMoreDetails(isVisible ? null : id)}>Show { isVisible ? "less" : "more" }{_t( + "This room is bridging messages to the following platforms. " + + "Learn more.", {}, + { + // TODO: We don't have this link yet: this will prevent the translators + // having to re-translate the string when we do. + a: sub => '', + }, + )}
+{_t( + "This room isn’t bridging messages to any platforms. " + + "Learn more.", {}, + { + // TODO: We don't have this link yet: this will prevent the translators + // having to re-translate the string when we do. + a: sub => '', + }, + )}
+ } + return ({ _t("Below is a list of bridges connected to this room.") }
-