aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-08-16 12:04:40 +0200
committerJulius Härtl <jus@bitgrid.net>2021-08-16 12:04:40 +0200
commitd99b46ec42c8cee607d3a37abc64ab091fa196b2 (patch)
tree145d2d665d691d3e4f2e5a9937da71b1df38fa6d /core/templates
parent9603069cc7eff8967ccba1c8d805f3d9d6103924 (diff)
downloadnextcloud-server-d99b46ec42c8cee607d3a37abc64ab091fa196b2.tar.gz
nextcloud-server-d99b46ec42c8cee607d3a37abc64ab091fa196b2.zip
Always add header-right container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.public.php4
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']); ?>