blob: 8dd4cb9cb456a9217b87ff613f3295cdfd4523da [file] [log] [blame]
Anand Doshic9d1ac42012-04-17 13:54:53 +05301wn.provide('erpnext');
2erpnext.set_about = function() {
3 wn.provide('wn.app');
4 $.extend(wn.app, {
5 name: 'ERPNext',
6 license: 'GNU/GPL - Usage Condition: All "erpnext" branding must be kept as it is',
7 source: 'https://github.com/webnotes/erpnext',
8 publisher: 'Web Notes Technologies Pvt Ltd, Mumbai',
9 copyright: '© Web Notes Technologies Pvt Ltd',
Anand Doshi56205ae2012-04-30 16:54:31 +053010 version: '2' //+ '.' + window._version_number
Anand Doshic9d1ac42012-04-17 13:54:53 +053011 });
Rushabh Mehta8c309be2012-01-20 13:47:16 +053012}
13
Rushabh Mehta865c00a2012-01-24 14:33:21 +053014wn.modules_path = 'erpnext';
Rushabh Mehta8c309be2012-01-20 13:47:16 +053015
Rushabh Mehtaa9209432012-05-07 18:00:57 +053016// add toolbar icon
Rushabh Mehta8c309be2012-01-20 13:47:16 +053017$(document).bind('toolbar_setup', function() {
Rushabh Mehta6dde93d2012-05-01 14:18:47 +053018 $('.brand').html((wn.boot.website_settings.brand_html || 'erpnext') +
Rushabh Mehta6f8e9e92012-05-01 13:41:44 +053019 ' <i class="icon-home icon-white navbar-icon-home" ></i>')
Rushabh Mehta6dde93d2012-05-01 14:18:47 +053020 .css('max-width', '200px').css('overflow', 'hidden')
Anand Doshiac144122012-02-27 19:16:24 +053021 .hover(function() {
22 $(this).find('.icon-home').addClass('navbar-icon-home-hover');
23 }, function() {
24 $(this).find('.icon-home').removeClass('navbar-icon-home-hover');
25 });
Anand Doshi859cb722012-04-10 11:35:19 +053026});