for whitelabeled edition, show branding name (e.g. 'ownCloud') instead of appname in header bar

This commit is contained in:
Jan-Christoph Borchardt 2014-09-26 15:38:35 +02:00
parent 9fc23e1967
commit 185f442df8

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>