Merge pull request #28445 from nextcloud/enh/header-right

Always add header-right container
pull/28459/head
John Molakvoæ 5 years ago committed by GitHub
commit 4f0101837a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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']); ?>

Loading…
Cancel
Save