airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndo...@apache.org
Subject [1/3] airavata-php-gateway git commit: Removing Edit User Role temporarily.
Date Tue, 02 Feb 2016 20:40:51 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 11f708020 -> b4c54fc81


Removing Edit User Role temporarily.


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/bbd09c56
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/bbd09c56
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/bbd09c56

Branch: refs/heads/develop
Commit: bbd09c568a8b4fa3b85e7bddd3df0c0942b30329
Parents: 11f7080
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Tue Feb 2 15:36:45 2016 -0500
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Tue Feb 2 15:36:45 2016 -0500

----------------------------------------------------------------------
 app/views/admin/manage-roles.blade.php | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/bbd09c56/app/views/admin/manage-roles.blade.php
----------------------------------------------------------------------
diff --git a/app/views/admin/manage-roles.blade.php b/app/views/admin/manage-roles.blade.php
index f78283e..1b54d21 100644
--- a/app/views/admin/manage-roles.blade.php
+++ b/app/views/admin/manage-roles.blade.php
@@ -41,7 +41,10 @@
                         <td class="role-name">{{ $role }}</td>
                         @if(Session::has("admin"))
                         <td>
+                            <!-- 
+                            // unable to find functions to edit a role name so commenting
for now
                             <span class="glyphicon glyphicon-pencil edit-role-name"></span>&nbsp;&nbsp;
+                            -->
                             <a href="{{URL::to('/')}}/admin/dashboard/users?role={{$role}}">
                                 <span class="glyphicon glyphicon-user role-users"></span>&nbsp;&nbsp;
                             </a>
@@ -76,7 +79,7 @@
                             <input type="hidden" name="original-role-name" class="original-role-name"
value=""/>
                         </div>
                         <div class="form-group col-md-4">
-                            <input type="submit" class="form-control btn btn-primary"
value="Edit"/>
+                            <input type="submit" class="form-control btn btn-primary edit-role-submit"
value="Edit"/>
                         </div>
                     </form>
                 </div>
@@ -100,8 +103,9 @@
                         <img src="{{URL::to('/')}}/assets/ajax-loader.gif"/>
                     </div>
                     <div class="delete-warning-text hide">
-                    <input type="hidden" class="form-control delete-roleName" name="role"/>
-                    <h4 class="alert alert-warning"><span class="role-user-count">
0 </span> users currently have the role - <span class="delete-role-name"></span>.
Do you really want to delete this role? </span></h2>
+                        <input type="hidden" class="form-control delete-roleName" name="role"/>
+                        <h4 class="alert alert-warning">
+                        <span class="role-user-count"> 0 </span> users currently
have the role - <span class="delete-role-name"></span>. Do you really want to
delete this role?</h4>
                     </div>
                 </div>
                 <div class="modal-footer">
@@ -140,10 +144,9 @@
             roleNameSpace.find(".new-role-name").val(role);
         }
     });
-
     $(".delete-role").click(function () {
         var roleName = $(this).parent().parent().find(".role-name").html();
-        $(".loading-count")
+        $(".loading-count").removeClass("hide");
         $.ajax({
             type: "GET",
             url: "{{URL::to('/')}}/admin/getusercountinrole",


Mime
View raw message