Skip to content

Commit

Permalink
Add site tite to panel header
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris committed Sep 15, 2024
1 parent 090d93d commit f856e56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion panel/views/layouts/panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
<body>
<?php $this->insert('partials.sidebar') ?>
<header class="panel-header">
<span class="flex-grow-1"><?= $this->translate('panel.panel') ?></span>
<span class="show-from-sm text-color-gray-dark"><?= $this->translate('panel.panel') ?></span>
<span class="show-from-sm ml-5 mr-2 text-color-gray-medium">/</span>
<span class="flex-grow-1"><a class="button button-link text-size-md" href="<?= $panel->uri('/options/site/') ?>"><?= $site->title() ?></a></span>
<a href="<?= $site->uri() ?>" class="button button-link text-size-md" target="formwork-view-site"><span class="show-from-xs"><?= $this->translate('panel.viewSite') ?></span> <?= $this->icon('arrow-right-up-box') ?></a>
</header>
<main class="panel-main">
Expand Down

0 comments on commit f856e56

Please sign in to comment.