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() {
|
2013-04-18 12:13:21 +00:00
|
|
|
$('.navbar-brand').html((wn.boot.website_settings.brand_html || 'erpnext') +
|
2012-05-01 08:11:44 +00:00
|
|
|
' <i class="icon-home icon-white navbar-icon-home" ></i>')
|
2012-05-01 08:48:47 +00:00
|
|
|
.css('max-width', '200px').css('overflow', 'hidden')
|
2012-02-27 13:46:24 +00:00
|
|
|
.hover(function() {
|
|
|
|
$(this).find('.icon-home').addClass('navbar-icon-home-hover');
|
|
|
|
}, function() {
|
|
|
|
$(this).find('.icon-home').removeClass('navbar-icon-home-hover');
|
|
|
|
});
|
2012-04-10 06:05:19 +00:00
|
|
|
});
|