rename Profile to User frappe/frappe#470
diff --git a/erpnext/public/js/queries.js b/erpnext/public/js/queries.js
index 86db28e..966b27d 100644
--- a/erpnext/public/js/queries.js
+++ b/erpnext/public/js/queries.js
@@ -1,11 +1,11 @@
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
-// searches for enabled profiles
+// searches for enabled users
frappe.provide("erpnext.queries");
$.extend(erpnext.queries, {
- profile: function() {
- return { query: "frappe.core.doctype.profile.profile.profile_query" };
+ user: function() {
+ return { query: "frappe.core.doctype.user.user.user_query" };
},
lead: function() {
diff --git a/erpnext/public/js/toolbar.js b/erpnext/public/js/toolbar.js
index 53efe30..c0645e3 100644
--- a/erpnext/public/js/toolbar.js
+++ b/erpnext/public/js/toolbar.js
@@ -5,9 +5,9 @@
frappe.provide('erpnext.toolbar');
erpnext.toolbar.setup = function() {
- // profile
+ // user
var $user = $('#toolbar-user');
- $user.append('<li><a href="#Form/Profile/'+user+'"><i class="icon-fixed-width icon-user"></i> '
+ $user.append('<li><a href="#Form/User/'+user+'"><i class="icon-fixed-width icon-user"></i> '
+frappe._("My Settings")+'...</a></li>');
$user.append('<li class="divider"></li>');
$user.append('<li><a href="https://erpnext.com/manual" target="_blank">\