From 6f6db75ea11f546d3a1a52f85f22658354c2b061 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 20 Jan 2016 22:47:42 +0000 Subject: [PATCH] improve banned users layout --- src/components/views/rooms/RoomSettings.js | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index 74b7ba7e7c..a978eb87f3 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -599,15 +599,18 @@ module.exports = React.createClass({ var user_levels_section; if (Object.keys(user_levels).length) { user_levels_section = - ; +
+

Privileged Users

+ +
; } else { user_levels_section =
No users have specific privileges in this room.
@@ -619,15 +622,15 @@ module.exports = React.createClass({ banned_users_section =

Banned users

-
+
    {banned.map(function(member, i) { return ( -
    +
  • {member.userId} -
  • + ); })} -
+
; } @@ -730,10 +733,7 @@ module.exports = React.createClass({ { unfederatable_section } -

Privileged Users

-
- { user_levels_section } -
+ { user_levels_section } { banned_users_section }