diff --git a/.gitignore b/.gitignore index 677a6fc..7d88e62 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .build* +.idea diff --git a/client/accounts_admin.html b/client/accounts_admin.html index 3366e03..60ebe0c 100644 --- a/client/accounts_admin.html +++ b/client/accounts_admin.html @@ -11,9 +11,13 @@ + + @@ -29,12 +33,24 @@ {{/unless}} + diff --git a/client/accounts_admin.js b/client/accounts_admin.js index 785f781..81ae94e 100644 --- a/client/accounts_admin.js +++ b/client/accounts_admin.js @@ -52,6 +52,7 @@ Template.accountsAdmin.events({ }, 'click .glyphicon-pencil': function(event, template) { + $("div.modal .modal-header div.alert").remove(); Session.set('userInScope', this); } }); diff --git a/client/info_account_modal.html b/client/info_account_modal.html index f015768..8a85f27 100644 --- a/client/info_account_modal.html +++ b/client/info_account_modal.html @@ -15,12 +15,25 @@

Account Info

{{#with userInScope}}
+

Users and Roles

+
Username Name Email Roles + {{#if username}} + {{username}} + {{else}} + {{#if profile.name}} + {{profile.name}} + {{else}} + {{email}} + {{/if}} + {{/if}} + {{#if profile.name}} {{profile.name}} {{else}} - {{email}} + {{username}} {{/if}} + {{email}} {{roles}}