diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-08-16 17:48:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 17:48:47 +0200 |
commit | 4f0101837a5a52de3673b16b0d1e472c520ac26c (patch) | |
tree | 8fe10b358ac99350801bd4ec834c59ee6cfd6656 | |
parent | 5da42273805160f75436f53b829b17e7b4ed2054 (diff) | |
parent | d99b46ec42c8cee607d3a37abc64ab091fa196b2 (diff) | |
download | nextcloud-server-4f0101837a5a52de3673b16b0d1e472c520ac26c.tar.gz nextcloud-server-4f0101837a5a52de3673b16b0d1e472c520ac26c.zip |
Merge pull request #28445 from nextcloud/enh/header-right
Always add header-right container
-rw-r--r-- | core/templates/layout.public.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index f28ccf62450..3f406569f6a 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -54,12 +54,12 @@ </span> </div> + <div class="header-right"> <?php /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */ if (isset($template) && $template->getActionCount() !== 0) { $primary = $template->getPrimaryAction(); $others = $template->getOtherActions(); ?> - <div class="header-right"> <span id="header-primary-action" class="<?php if ($template->getActionCount() === 1) { p($primary->getIcon()); } ?>"> @@ -82,9 +82,9 @@ </div> </div> <?php } ?> - </div> <?php } ?> + </div> </header> <div id="content" class="app-<?php p($_['appid']) ?>" role="main"> <?php print_unescaped($_['content']); ?> |