[toolbars] removed view / module menus

This commit is contained in:
Rushabh Mehta 2013-05-29 11:23:45 +05:30
parent f32ee3c28e
commit 506379da7e

View File

@ -15,7 +15,8 @@ wn.modules_path = 'erpnext';
// add toolbar icon
$(document).bind('toolbar_setup', function() {
$('.navbar-brand').html('<i class="icon-home icon-white navbar-icon-home" ></i>')
$('.navbar-brand').html((wn.boot.website_settings.brand_html || 'erpnext') +
' <i class="icon-home icon-white navbar-icon-home" ></i>')
.css('max-width', '200px').css('overflow', 'hidden')
.hover(function() {
$(this).find('.icon-home').addClass('navbar-icon-home-hover');