diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-06 18:02:47 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-11-07 16:30:59 +0100 |
commit | f54b201f234e1cb9bfe99a5086caaa6229f43253 (patch) | |
tree | ac76796b51ec3529cb2832e82a78d63e7268a0d5 /core/templates | |
parent | 7940a79a410c815915f25d8d36ec08afb27b610b (diff) | |
download | nextcloud-server-f54b201f234e1cb9bfe99a5086caaa6229f43253.tar.gz nextcloud-server-f54b201f234e1cb9bfe99a5086caaa6229f43253.zip |
Better primary visual on public pages
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/layout.public.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index 0558da52d0b..8a87e88a16c 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -51,18 +51,18 @@ ?> <div class="header-right"> <span id="header-primary-action" class="<?php if($template->getActionCount() === 1) { p($primary->getIcon()); } ?>"> - <a href="<?php p($primary->getLink()); ?>"> + <a href="<?php p($primary->getLink()); ?>" class="primary button"> <span><?php p($primary->getLabel()) ?></span> </a> </span> - <?php if($template->getActionCount()>1) { ?> + <?php if($template->getActionCount() > 1) { ?> <div id="header-secondary-action"> <span id="header-actions-toggle" class="menutoggle icon-more-white"></span> <div id="header-actions-menu" class="popovermenu menu"> <ul> <?php /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */ - foreach($template->getOtherActions() as $action) { + foreach($others as $action) { print_unescaped($action->render()); } ?> |