瀏覽代碼

Merge pull request #15610 from surajshetty3416/toggle-theme-option

version-14
Suraj Shetty 3 年之前
committed by GitHub
父節點
當前提交
db5fab52ed
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      frappe/utils/install.py

+ 6
- 0
frappe/utils/install.py 查看文件

@@ -219,6 +219,12 @@ def add_standard_navbar_items():
'action': 'frappe.ui.toolbar.toggle_full_width()', 'action': 'frappe.ui.toolbar.toggle_full_width()',
'is_standard': 1 'is_standard': 1
}, },
{
'item_label': 'Toggle Theme',
'item_type': 'Action',
'action': 'new frappe.ui.ThemeSwitcher().show()',
'is_standard': 1
},
{ {
'item_label': 'Background Jobs', 'item_label': 'Background Jobs',
'item_type': 'Route', 'item_type': 'Route',


Loading…
取消
儲存