mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Redirect to Role Listing page after editing a Role.
This commit is contained in:
parent
80a08a2744
commit
c754b64653
@ -73,20 +73,7 @@
|
|||||||
<div id="role-created-msg" class="container col-centered wr-content hidden">
|
<div id="role-created-msg" class="container col-centered wr-content hidden">
|
||||||
<div class="wr-form">
|
<div class="wr-form">
|
||||||
<p class="page-sub-title">Role was updated successfully.</p>
|
<p class="page-sub-title">Role was updated successfully.</p>
|
||||||
<br>Please click <b>"View Updated Role"</b>, if you wish to view the updated role or click
|
<br>You will be redirected to Roles Listing Page in a moment.
|
||||||
<b>"View Role List"</b> to complete the process and go back to the role list.
|
|
||||||
<hr/>
|
|
||||||
<button class="wr-btn" onclick="window.location.href='{{@app.context}}/roles'">
|
|
||||||
View Role List
|
|
||||||
</button>
|
|
||||||
<a href="{{@app.context}}/roles/edit-role/{{role.roleName}}"
|
|
||||||
class="cu-btn-inner">
|
|
||||||
<span class="fw-stack">
|
|
||||||
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
|
||||||
<i class="fw fw-add fw-stack-1x"></i>
|
|
||||||
</span>
|
|
||||||
View Updated Role
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- /content -->
|
<!-- /content -->
|
||||||
|
|||||||
@ -210,6 +210,9 @@ $(document).ready(function () {
|
|||||||
// Refreshing with success message
|
// Refreshing with success message
|
||||||
$("#role-create-form").addClass("hidden");
|
$("#role-create-form").addClass("hidden");
|
||||||
$("#role-created-msg").removeClass("hidden");
|
$("#role-created-msg").removeClass("hidden");
|
||||||
|
setTimeout(function(){
|
||||||
|
window.location.href = "/devicemgt/roles";
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
}, function (data) {
|
}, function (data) {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user