mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
deprecated dashboard
This commit is contained in:
@@ -30,7 +30,6 @@ erpnext.modules = {
|
||||
'Calendar': 'calendar',
|
||||
'Messages': 'messages',
|
||||
'Knowledge Base': 'questions',
|
||||
'Dashboard': 'dashboard'
|
||||
}
|
||||
|
||||
// wn.modules is used in breadcrumbs for getting module home page
|
||||
@@ -70,7 +69,6 @@ wn.module_css_map = {
|
||||
'Website': 'leaf-green',
|
||||
'Activity': 'brown',
|
||||
'Setup': 'grey',
|
||||
'Dashboard': 'bright-green',
|
||||
'To Do': 'bright-yellow',
|
||||
'Messages': 'pink',
|
||||
'Calendar': 'peacock',
|
||||
|
||||
@@ -65,7 +65,6 @@ span, div, td, input, textarea, button, select {
|
||||
.small-module-icons-accounts{ background-position: 0 0; width: 14px; height: 17px; margin-top: -2px; margin-bottom: -2px; }
|
||||
.small-module-icons-selling{ background-position: 0 -67px; width: 14px; height: 17px; margin-top: -2px; margin-bottom: -2px; }
|
||||
.small-module-icons-calendar{ background-position: 0 -134px; width: 15px; height: 17px; margin-top: -2px; margin-bottom: -2px; }
|
||||
.small-module-icons-dashboard{ background-position: 0 -201px; width: 17px; height: 12px; }
|
||||
.small-module-icons-feed{ background-position: 0 -263px; width: 14px; height: 17px; margin-top: -2px; margin-bottom: -2px; }
|
||||
.small-module-icons-hr{ background-position: 0 -330px; width: 17px; height: 14px; margin-top: -1px; }
|
||||
.small-module-icons-kb{ background-position: 0 -394px; width: 10px; height: 17px; margin-top: -2px; margin-bottom: -2px; }
|
||||
|
||||
@@ -76,12 +76,6 @@ erpnext.toolbar.add_modules = function() {
|
||||
data-module="%(module)s">%(module_label)s</a></li>', args));
|
||||
}
|
||||
}
|
||||
|
||||
// dasboard for accounts system manager
|
||||
if(user_roles.indexOf("Accounts Manager")!=-1) {
|
||||
$('.navbar .modules').append('<li><a href="#!dashboard" \
|
||||
data-module="Dashboard">Dashboard</a></li>');
|
||||
}
|
||||
|
||||
// setup for system manager
|
||||
if(user_roles.indexOf("System Manager")!=-1) {
|
||||
|
||||
Reference in New Issue
Block a user