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 85dfd71 commit c20996dCopy full SHA for c20996d
web/templates/pages/list_packages.html
@@ -84,7 +84,7 @@
84
<div class="clearfix l-unit__stat-col--left text-right compact-3">
85
<div class="l-unit-toolbar__col l-unit-toolbar__col--right noselect">
86
<div class="actions-panel clearfix">
87
- <?php if (($key == 'default') && ($_SESSION['userContext'] === 'admin') && ($_SESSION['user'] !== 'admin')) { ?>
+ <?php if (($key == 'default')) { ?>
88
<!-- Restrict editing default package -->
89
<?php } else {?>
90
<div class="actions-panel__col actions-panel__edit shortcut-enter" key-action="href"><a href="/edit/package/?package=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=_('Editing Package');?>"><i class="fas fa-pencil-alt status-icon orange status-icon dim"></i></a></div>
0 commit comments