Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Jan 4, 2025
1 parent 86fb417 commit 8a0e990
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions www/views/includes/containers/header/menu.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,26 +136,14 @@
</div>

<div class="flex align-item-center column-gap-30 margin-right-15">
<div class="relative">
<img src="/assets/icons/alarm.svg" class="icon-lowopacity get-panel-btn" panel="general/notification" title="Show notifications" />
<?php
if (NOTIFICATION != 0) : ?>
<span id="notification-count"><?= NOTIFICATION ?></span>
<?php
endif ?>
</div>

<?php
/**
* History tab
*/
if (IS_ADMIN) : ?>
<div>
<a href="/history"><img src="/assets/icons/time.svg" class="icon-lowopacity" title="Repomanager history" /></a>
<a href="/settings"><img src="/assets/icons/cog.svg" class="icon-lowopacity" title="Repomanager settings" /></a>
</div>

<div>
<a href="/settings"><img src="/assets/icons/cog.svg" class="icon-lowopacity" title="Repomanager settings" /></a>
<a href="/history"><img src="/assets/icons/time.svg" class="icon-lowopacity" title="Repomanager history" /></a>
</div>
<?php
endif ?>
Expand All @@ -166,6 +154,15 @@
<span class="round-item bkg-<?= $currentLoadColor ?>"></span>
</div>

<div class="relative">
<img src="/assets/icons/alarm.svg" class="icon-lowopacity get-panel-btn" panel="general/notification" title="Show notifications" />
<?php
if (NOTIFICATION != 0) : ?>
<span id="notification-count"><?= NOTIFICATION ?></span>
<?php
endif ?>
</div>

<div class="flex align-item-center column-gap-10 get-panel-btn lowopacity pointer" panel="general/userspace" title="Userspace">
<img src="/assets/icons/user.svg" class="icon" />
<span>
Expand Down

0 comments on commit 8a0e990

Please sign in to comment.