brotherton-erpnext/public/js/conf.js
2013-06-07 15:39:45 +05:30

27 lines
886 B
JavaScript

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',
version: 'Please see git log for the release number'
});
}
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')
.css('max-width', '200px').css('overflow', 'hidden')
.hover(function() {
$(this).find('.icon-home').addClass('navbar-icon-home-hover');
}, function() {
$(this).find('.icon-home').removeClass('navbar-icon-home-hover');
});
});