Move account and update prompt to right of menu

This commit is contained in:
Jay Trees 2022-02-28 09:08:09 +01:00
parent 3effed3e8b
commit 3180b50f86

View file

@ -265,6 +265,15 @@ class Page
My lists
</a>
<div class="right menu">
<?php global $options; ?>
<?php if ($options->updateAvailable && $user && 100 === $user->power) { ?>
<a class="item" href="/?page=update">
<i class="upload icon"></i> Update
</a>
<?php } ?>
<?php if (count($pagesAccount) === 1) { ?>
<a class="item" href="<?= $pagesAccount[0]['url'] ?>">
<i class="<?= $pagesAccount[0]['icon'] ?> icon"></i>
@ -290,12 +299,7 @@ class Page
</div>
</div>
<?php } ?>
<?php global $options; ?>
<?php if ($options->updateAvailable && $user && 100 === $user->power) { ?>
<a class="item" href="/?page=update">
<i class="upload icon"></i> Update
</a>
<?php } ?>
</div>
</div>
</div>
<div class="ui hidden divider"></div>