Skip to content

Commit

Permalink
introduce h1, use either ownCloud name or current app name
Browse files Browse the repository at this point in the history
  • Loading branch information
jancborchardt committed Nov 6, 2014
1 parent 764f51c commit 45c6ec8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions core/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
height: 120px;
margin: 0 auto;
}
#header .logo h1 {
display: none;
}

#header .logo-wide {
background-image: url(../img/logo-wide.svg);
Expand Down
4 changes: 3 additions & 1 deletion core/templates/layout.guest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
<?php if ($_['bodyid'] === 'body-login' ): ?>
<header>
<div id="header">
<div class="logo svg"></div>
<div class="logo svg">
<h1><?php p($theme->getName()); ?></h1>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
</div>
</header>
Expand Down
4 changes: 2 additions & 2 deletions core/templates/layout.user.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
<div class="logo-icon svg"></div>
</a>
<a href="#" class="menutoggle">
<div class="header-appname">
<h1 class="header-appname">
<?php
if(OC_Util::getEditionString() === '') {
p(!empty($_['application'])?$_['application']: $l->t('Apps'));
} else {
print_unescaped($theme->getHTMLName());
}
?>
</div>
</h1>
<div class="icon-caret svg"></div>
</a>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
Expand Down

0 comments on commit 45c6ec8

Please sign in to comment.