Merge pull request #11319 from owncloud/header-owncloud-name

for whitelabeled edition, show branding name (e.g. 'ownCloud') instead of appname in header bar
This commit is contained in:
Morris Jobke 2014-09-27 10:28:53 +02:00
commit cd2c238b08
1 changed files with 7 additions and 1 deletions

View File

@ -53,7 +53,13 @@
</a>
<a href="#" class="menutoggle">
<div class="header-appname">
<?php p(!empty($_['application'])?$_['application']: $l->t('Apps')); ?>
<?php
if(OC_Util::getEditionString() === '') {
p(!empty($_['application'])?$_['application']: $l->t('Apps'));
} else {
p($theme->getName());
}
?>
</div>
<div class="icon-caret svg"></div>
</a>