wn.provide('erpnext');
erpnext.set_about = function() {
	wn.provide('wn.app');
	$.extend(wn.app, {
		name: 'ERPNext',
		license: 'GNU/GPL - Usage Condition: All "erpnext" branding must be kept as it is',
		source: 'https://github.com/webnotes/erpnext',
		publisher: 'Web Notes Technologies Pvt Ltd, Mumbai',
		copyright: '&copy; Web Notes Technologies Pvt Ltd',
		version: 'Please see git log for the release number'
	});
}

wn.modules_path = 'erpnext';

// add toolbar icon
$(document).bind('toolbar_setup', function() {
	$('.navbar-brand').html('<div style="display: inline-block; cursor: pointer;">\
			<object type="image/svg+xml" data="app/images/splash.svg" class="toolbar-splash"></object>\
		</div>' + ($("<div></div>").append(wn.boot.website_settings.brand_html).text() || 'erpnext'))
	.addClass("navbar-icon-home")
	.css('max-width', '200px').css('overflow', 'hidden');
});

@@ -515,16 +515,113 @@
 ion() %7B%0A
+%09var brand = ($(%22%3Cdiv%3E%3C/div%3E%22).append(wn.boot.website_settings.brand_html).text() %7C%7C 'erpnext');%0A
 %09$('.nav
@@ -676,25 +676,8 @@
 ock;
- cursor: pointer;
 %22%3E%5C%0A
@@ -787,90 +787,36 @@
 ' + 
-($(%22%3Cdiv%3E%3C/div%3E%22).append(wn.boot.website_settings.brand_html).text() %7C%7C 'erpnext')
+brand)%0A%09.attr(%22title%22, brand
 )%0A%09.
@@ -850,17 +850,21 @@
 )%0A%09.css(
-'
+%7B%0A%09%09%22
 max-widt
@@ -868,33 +868,31 @@
 idth
-', '
+%22: %22
 200px
-').css('
+%22,%0A%09%09%22
 overflow
 ', '
@@ -891,19 +891,80 @@
 flow
-', '
+%22: %22
 hidden
-'
+%22,%0A%09%09%22text-overflow%22: %22ellipsis%22,%0A%09%09%22white-space%22: %22nowrap%22%0A%09%7D
 );%0A%7D

[fix] [navbar] replace overflow with ellipsis