From 936a38a9f49672c42a6095055696cf4cce00100f Mon Sep 17 00:00:00 2001 From: wmwragg Date: Wed, 13 Jul 2016 16:02:18 +0100 Subject: [PATCH 1/4] Updated and moved the room header settings icon --- src/components/views/rooms/RoomHeader.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js index 0bafc90fe5..9effc8fdde 100644 --- a/src/components/views/rooms/RoomHeader.js +++ b/src/components/views/rooms/RoomHeader.js @@ -218,9 +218,6 @@ module.exports = React.createClass({
{ searchStatus } -
- -
} @@ -266,6 +263,14 @@ module.exports = React.createClass({ ); } + var settings_button; + if (this.props.onSettingsClick) { + settings_button = +
+ +
; + } + var leave_button; if (this.props.onLeaveClick) { leave_button = @@ -291,6 +296,7 @@ module.exports = React.createClass({ if (!this.props.editing) { right_row =
+ { settings_button } { forget_button } { leave_button }
From 7f00053f847ee3922d00317bd5c6e4c36ec3134a Mon Sep 17 00:00:00 2001 From: wmwragg Date: Wed, 13 Jul 2016 17:46:56 +0100 Subject: [PATCH 2/4] Footer upload icon updated to new vesrion --- src/components/views/rooms/MessageComposer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/MessageComposer.js b/src/components/views/rooms/MessageComposer.js index f9371385d4..da5b504d88 100644 --- a/src/components/views/rooms/MessageComposer.js +++ b/src/components/views/rooms/MessageComposer.js @@ -189,7 +189,7 @@ export default class MessageComposer extends React.Component { var uploadButton = (
- + Date: Thu, 14 Jul 2016 11:43:33 +0100 Subject: [PATCH 3/4] Updated the search button, and simplified the leave css --- src/components/views/rooms/RoomHeader.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js index 9effc8fdde..4298fdb019 100644 --- a/src/components/views/rooms/RoomHeader.js +++ b/src/components/views/rooms/RoomHeader.js @@ -274,7 +274,7 @@ module.exports = React.createClass({ var leave_button; if (this.props.onLeaveClick) { leave_button = -
+
; } @@ -282,7 +282,7 @@ module.exports = React.createClass({ var forget_button; if (this.props.onForgetClick) { forget_button = -
+
; } @@ -300,7 +300,7 @@ module.exports = React.createClass({ { forget_button } { leave_button }
- +
{ rightPanel_buttons }
; From fd5d28768a0b2447d0aa6c4e9014a8288df6d82a Mon Sep 17 00:00:00 2001 From: wmwragg Date: Thu, 14 Jul 2016 12:05:00 +0100 Subject: [PATCH 4/4] Simplification of the css --- src/components/views/rooms/RoomHeader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js index 4298fdb019..8c1b2aaff8 100644 --- a/src/components/views/rooms/RoomHeader.js +++ b/src/components/views/rooms/RoomHeader.js @@ -266,7 +266,7 @@ module.exports = React.createClass({ var settings_button; if (this.props.onSettingsClick) { settings_button = -
+
; }