// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt wn.provide('erpnext'); // add toolbar icon $(document).bind('toolbar_setup', function() { wn.app.name = "ERPNext"; var brand = ($("
").append(wn.boot.website_settings.brand_html).text() || 'erpnext'); $('.navbar-brand').html('
\ \
' + brand) .attr("title", brand) .addClass("navbar-icon-home") .css({ "max-width": "200px", "overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }); }); wn.provide('wn.ui.misc'); wn.ui.misc.about = function() { if(!wn.ui.misc.about_dialog) { var d = new wn.ui.Dialog({title: wn._('About ERPNext')}) $(d.body).html(repl("
\

"+wn._("ERPNext is an open-source web based ERP made by Web Notes Technologies Pvt Ltd.\ to provide an integrated tool to manage most processes in a small organization.\ For more information about Web Notes, or to buy hosting servies, go to ")+ "https://erpnext.com.

\

"+wn._("To report an issue, go to ")+"GitHub Issues

\
\

License: GNU General Public License Version 3

\
", wn.app)); wn.ui.misc.about_dialog = d; } wn.ui.misc.about_dialog.show(); }