mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 16:21:19 +00:00
changed desktop modules now using font-awesome instead of noun project fonts
This commit is contained in:
@@ -31,6 +31,9 @@ wn.pages.messages.onload = function(wrapper) {
|
||||
<div><button class="btn">Post</button></div><hr>\
|
||||
</div>\
|
||||
<div class="all-messages"></div>').appendTo($(wrapper).find('.layout-main-section'));
|
||||
|
||||
wrapper.appframe.add_home_breadcrumb();
|
||||
wrapper.appframe.add_breadcrumb(wn.modules["Messages"].icon);
|
||||
|
||||
erpnext.messages = new erpnext.Messages(wrapper);
|
||||
erpnext.toolbar.set_new_comments(0);
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
pscript['onload_question-view'] = function(wrapper) {
|
||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.layout-appframe'));
|
||||
wrapper.appframe.title('Question');
|
||||
wrapper.appframe.add_module_tab('Knowledge Base');
|
||||
wrapper.appframe.add_home_breadcrumb();
|
||||
wrapper.appframe.add_module_breadcrumb("Knowledge Base");
|
||||
wrapper.appframe.add_breadcrumb("icon-file");
|
||||
|
||||
wrapper.add_answer_area = $('.add-answer-area').get(0);
|
||||
}
|
||||
|
||||
@@ -18,6 +18,8 @@ pscript.onload_questions = function(wrapper) {
|
||||
body = $(wrapper).find('.layout-main-section').get(0);
|
||||
|
||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.layout-appframe'));
|
||||
wrapper.appframe.add_home_breadcrumb();
|
||||
wrapper.appframe.add_breadcrumb(wn.modules["Knowledge Base"].icon);
|
||||
wrapper.appframe.title('Knowledge Base');
|
||||
|
||||
// kb
|
||||
|
||||
@@ -185,6 +185,8 @@ erpnext.todo.save = function(btn) {
|
||||
wn.pages.todo.onload = function(wrapper) {
|
||||
// create app frame
|
||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'To Do');
|
||||
wrapper.appframe.add_home_breadcrumb();
|
||||
wrapper.appframe.add_breadcrumb(wn.modules["To Do"].icon);
|
||||
wrapper.appframe.add_button('Refresh', erpnext.todo.refresh, 'icon-refresh');
|
||||
wrapper.appframe.add_button('Add', function() {
|
||||
erpnext.todo.make_dialog({
|
||||
|
||||
Reference in New Issue
Block a user