From 623f166cddbd5a4d5090eb097b4f3ba30069696e Mon Sep 17 00:00:00 2001 From: Martin Schoeler Date: Mon, 19 Jun 2017 16:17:52 -0300 Subject: [PATCH 1/9] Edit roles work in progress. --- .../client/tabs/userEdit.html | 10 ++++-- .../client/tabs/userEdit.js | 35 +++++++++++++++++-- 2 files changed, 39 insertions(+), 6 deletions(-) diff --git a/packages/rocketchat-ui-flextab/client/tabs/userEdit.html b/packages/rocketchat-ui-flextab/client/tabs/userEdit.html index f05851461c57..7979d7633928 100644 --- a/packages/rocketchat-ui-flextab/client/tabs/userEdit.html +++ b/packages/rocketchat-ui-flextab/client/tabs/userEdit.html @@ -40,15 +40,19 @@

{{_ "Add_User"}}

{{/if}} - {{#unless user}} -
+ {{#each userRoles}} +
- {{#each role}} {{/each}} +
+ {{/each}} + {{#unless user}}
{{/if}} - {{#each userRoles}}
- - + - + + +
+
    + {{#each userRoles}} +
  • {{this}}
  • + {{/each}} +
+
- {{/each}} + {{#unless user}}