Repository: airavata-php-gateway Updated Branches: refs/heads/master d5feccee7 -> 55758c540
Change in UI for User roles. Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/55758c54 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/55758c54 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/55758c54 Branch: refs/heads/master Commit: 55758c5401ab7b15cfabbecbd7dee8c8c5262d3b Parents: d5fecce Author: Nipurn Doshi <[email protected]> Authored: Thu May 14 15:41:26 2015 -0400 Committer: Nipurn Doshi <[email protected]> Committed: Thu May 14 15:41:26 2015 -0400 ---------------------------------------------------------------------- app/views/admin/manage-users.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/55758c54/app/views/admin/manage-users.blade.php ---------------------------------------------------------------------- diff --git a/app/views/admin/manage-users.blade.php b/app/views/admin/manage-users.blade.php index 96afb18..e7d96b9 100644 --- a/app/views/admin/manage-users.blade.php +++ b/app/views/admin/manage-users.blade.php @@ -164,7 +164,7 @@ $(".role-block").find(".role-name").html( roles[i]); var newRoleBlock = $(".role-block").html(); roleBlocks += newRoleBlock; - $(".roles-list").prepend( roleBlocks); + $(".roles-list").html( roleBlocks); $(".add-roles-block").removeClass("hide"); } @@ -196,7 +196,7 @@ } }); $(".add-roles-submit").html( "Add Roles"); - $(".add-roles-submit").append("<span class='alert alert-success col-md-12'>Roles have been added</span>"); + $(".add-roles-submit").after("<span class='alert alert-success col-md-12'>Roles have been added</span>"); }); });
