fixed #1784 added button in user edit popin to go on te history page with the user as filter

This commit is contained in:
Matthieu Leproux
2022-11-09 15:45:48 +01:00
parent 453de4a3d1
commit 9a4f9272b2
8 changed files with 37 additions and 2 deletions
@@ -34,6 +34,7 @@ const hide_str = '{'Hide'|@translate}';
const show_str = '{'Show'|@translate}';
const user_added_str = '{'User %s added'|@translate}';
const str_popin_update_btn = '{'Update'|@translate}';
const history_base_url = "{$U_HISTORY}";
const view_selector = '{$view_selector}';
@@ -637,6 +638,11 @@ $(document).ready(function() {
<div class="user-property-permissions">
<p class="user-property-button"> <span class="icon-lock user-edit-icon"> </span><a href="#" >{'Permissions'|@translate}</a></p>
</div>
<div class="user-stats">
<div class="user-property-history">
<p class="user-property-button"> <span class="icon-signal user-edit-icon"> </span><a href="" >{'Visit history'|@translate}</a></p>
</div>
</div>
</div>
<div class="user-property-register-visit">
<span class="user-property-register"><!-- Registered date XX/XX/XXXX --></span>
@@ -817,6 +823,11 @@ $(document).ready(function() {
<div class="user-property-permissions">
<p class="user-property-button"><span class="icon-lock user-edit-icon"></span><a href="admin.php?page=user_perm&user_id={$guest_id}">{'Permissions'|@translate}</a></p>
</div>
<div class="user-stats">
<div class="user-property-history">
<p class="user-property-button"> <span class="icon-signal user-edit-icon"> </span><a href="" >{'Visit history'|@translate}</a></p>
</div>
</div>
</div>
</div>
<div class="properties-container">