[minor] show brand html in toolbar

This commit is contained in:
Anand Doshi
2013-07-17 14:15:26 +05:30
parent 6537f3d25f
commit cc04a17030
3 changed files with 4 additions and 3 deletions

View File

@@ -16,7 +16,8 @@ wn.modules_path = 'erpnext';
// add toolbar icon
$(document).bind('toolbar_setup', function() {
$('.navbar-brand').html('<object data="app/images/splash.svg" \
class="toolbar-splash" type="image/svg+xml"></object>erpnext')
class="toolbar-splash" type="image/svg+xml"></object>' +
(wn.boot.website_settings.brand_html || 'erpnext'))
.css('max-width', '200px').css('overflow', 'hidden')
.hover(function() {
$(this).find('.icon-home').addClass('navbar-icon-home-hover');

View File

@@ -37,5 +37,5 @@ span, div, td, input, textarea, button, select {
.toolbar-splash {
width: 32px;
height: 32px;
margin: -11px auto;
margin: -10px auto;
}