// 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')}) $(d.body).html(repl("
\

ERPNext

\

v" + wn.boot.app_version + "

\

"+wn._("An open source ERP made for the web.

") + "

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

\

http://erpnext.org.

\

License: GNU General Public License Version 3

\
\

© 2014 Web Notes Technologies Pvt. Ltd and contributers

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