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

ERPNext

\

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

") + "

"+__("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

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