brotherton-erpnext/public/js/conf.js

23 lines
753 B
JavaScript
Raw Normal View History

2012-04-17 08:24:53 +00:00
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: '© Web Notes Technologies Pvt Ltd',
2012-12-21 09:30:29 +00:00
version: 'Please see git log for the release number'
2012-04-17 08:24:53 +00:00
});
2012-01-20 08:17:16 +00:00
}
2012-01-24 09:03:21 +00:00
wn.modules_path = 'erpnext';
2012-01-20 08:17:16 +00:00
2012-05-07 12:30:57 +00:00
// add toolbar icon
2012-01-20 08:17:16 +00:00
$(document).bind('toolbar_setup', function() {
$('.navbar-brand').html('<img src="app/images/splash.svg" class="toolbar-splash">' +
2013-07-17 08:45:26 +00:00
(wn.boot.website_settings.brand_html || 'erpnext'))
.addClass("navbar-icon-home")
.css('max-width', '200px').css('overflow', 'hidden');
2012-04-10 06:05:19 +00:00
});