2013-11-20 07:29:58 +00:00
|
|
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
2013-08-05 09:29:54 +00:00
|
|
|
// License: GNU General Public License v3. See license.txt
|
|
|
|
|
2014-02-14 10:17:51 +00:00
|
|
|
frappe.provide('erpnext');
|
2012-01-20 08:17:16 +00:00
|
|
|
|
2012-05-07 12:30:57 +00:00
|
|
|
// add toolbar icon
|
2012-01-20 08:17:16 +00:00
|
|
|
$(document).bind('toolbar_setup', function() {
|
2014-02-14 10:17:51 +00:00
|
|
|
frappe.app.name = "ERPNext";
|
2014-04-15 11:00:55 +00:00
|
|
|
|
|
|
|
$('.navbar-brand').html('<i class="icon-home"></i>')
|
|
|
|
.attr("title", "Home")
|
2013-07-18 12:45:56 +00:00
|
|
|
.addClass("navbar-icon-home")
|
2013-07-19 12:20:25 +00:00
|
|
|
.css({
|
|
|
|
"max-width": "200px",
|
|
|
|
"text-overflow": "ellipsis",
|
|
|
|
"white-space": "nowrap"
|
|
|
|
});
|
2014-08-22 09:51:27 +00:00
|
|
|
|
|
|
|
$('[data-link="docs"]').attr("href", "https://erpnext.com/user-guide")
|
2012-04-10 06:05:19 +00:00
|
|
|
});
|