[cleanup] [minor] added icons in toolbar menu [issue] webnotes/erpnext#655
This commit is contained in:
parent
1276031fef
commit
af1df68c13
@ -20,19 +20,20 @@ wn.provide('erpnext.toolbar');
|
||||
erpnext.toolbar.setup = function() {
|
||||
// profile
|
||||
var $user = $('#toolbar-user');
|
||||
$user.append('<li><a href="#Form/Profile/'+user+'">'
|
||||
$user.append('<li><a href="#Form/Profile/'+user+'"><i class="icon-fixed-width icon-user"></i> '
|
||||
+wn._("My Settings")+'...</a></li>');
|
||||
$user.append('<li class="divider"></li>');
|
||||
$user.append('<li><a href="https://erpnext.com/manual" target="_blank">'
|
||||
+wn._('Documentation')+'</a></li>')
|
||||
$user.append('<li><a href="http://groups.google.com/group/erpnext-user-forum" target="_blank">'
|
||||
+wn._('Forum')+'</a></li>')
|
||||
$user.append('<li><a href="https://erpnext.com/manual" target="_blank">\
|
||||
<i class="icon-fixed-width icon-file"></i> '+wn._('Documentation')+'</a></li>')
|
||||
$user.append('<li><a href="http://groups.google.com/group/erpnext-user-forum" target="_blank">\
|
||||
<i class="icon-fixed-width icon-quote-left"></i> '+wn._('Forum')+'</a></li>')
|
||||
$user.append('<li><a href="http://www.providesupport.com?messenger=iwebnotes" target="_blank">\
|
||||
'+wn._('Live Chat')+'</a></li>')
|
||||
<i class="icon-fixed-width icon-comments"></i> '+wn._('Live Chat')+'</a></li>')
|
||||
|
||||
erpnext.toolbar.set_new_comments();
|
||||
|
||||
$("#toolbar-tools").append('<li><a href="#latest-updates">Latest Updates</li>');
|
||||
$("#toolbar-tools").append('<li><a href="#latest-updates">\
|
||||
<i class="icon-fixed-width icon-rss"></i> Latest Updates</li>');
|
||||
}
|
||||
|
||||
erpnext.toolbar.set_new_comments = function(new_comments) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user