mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
moved directory structure
This commit is contained in:
26
public/js/conf.js
Normal file
26
public/js/conf.js
Normal file
@@ -0,0 +1,26 @@
|
||||
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: '2' //+ '.' + window._version_number
|
||||
});
|
||||
}
|
||||
|
||||
wn.modules_path = 'erpnext';
|
||||
|
||||
// add toolbar icon
|
||||
$(document).bind('toolbar_setup', function() {
|
||||
$('.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');
|
||||
}, function() {
|
||||
$(this).find('.icon-home').removeClass('navbar-icon-home-hover');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user