We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f02453 commit 9f430d7Copy full SHA for 9f430d7
web/templates/admin/list_log.html
@@ -14,7 +14,7 @@
14
</div>
15
<div class="l-unit-toolbar__buttonstrip float-right">
16
<a href="javascript:location.reload();" class="ui-button cancel" dir="ltr"><i class="fas fa-redo status-icon green"></i><?=_('Refresh')?></a>
17
- <? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['RESTRICTED_ADMIN'] === 'yes')) {?>
+ <? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['user'] !== 'admin') && ($_SESSION['RESTRICTED_ADMIN'] === 'yes')) {?>
18
<!-- Hide delete buttons-->
19
<? } else { ?>
20
<div class="actions-panel display-inline-block" key-action="js">
0 commit comments