Skip to content

Commit

Permalink
Dev: Reordered buttons in user roles view
Browse files Browse the repository at this point in the history
  • Loading branch information
thedirtypanda committed Jul 14, 2021
1 parent 22fb42a commit dfd8a07
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions application/models/Permissiontemplates.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class='btn btn-sm btn-default RoleControl--action--openmodal RoleControl--action
// Edit Role
$editRoleButton = ""
. "<button
class='btn btn-sm btn-default RoleControl--action--openmodal RoleControl--action--edituser'
class='btn btn-sm btn-default green-border RoleControl--action--openmodal RoleControl--action--edituser'
data-toggle='tooltip'
data-placement='top'
title='" . gT('Edit Role') . "'
Expand All @@ -200,7 +200,7 @@ class='btn btn-sm btn-default RoleControl--action--openmodal RoleControl--action
$deleteRoleButton = ""
. "<button
id='RoleControl--delete-" . $this->ptid . "'
class='btn btn-sm btn-default'
class='btn btn-sm btn-default red-border'
data-toggle='modal'
title='" . gT('Delete Role') . "'
data-target='#confirmation-modal'
Expand All @@ -209,13 +209,13 @@ class='btn btn-sm btn-default'
data-action='delrole'
data-onclick='LS.RoleControl.triggerRunAction(\"#RoleControl--delete-" . $this->ptid . "\")'
data-message='" . gT('Do you want to delete this role?') . "'>
<i class='text-danger fa fa-trash'></i>
<i class='fa fa-trash'></i>
</button>";

return join("\n", [
$roleDetail,
$editPermissionButton,
$editRoleButton,
$editPermissionButton,
$roleDetail,
$exportRoleButton,
$deleteRoleButton
]);
Expand Down

0 comments on commit dfd8a07

Please sign in to comment.