mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Always add header-right container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
9603069cc7
commit
d99b46ec42
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue