瀏覽代碼

Merge pull request #402 from pdvyas/version-boot

add version number to bootinfo
version-14
Nabin Hait 11 年之前
父節點
當前提交
703fb2a0bb
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      webnotes/boot.py

+ 2
- 0
webnotes/boot.py 查看文件

@@ -37,6 +37,8 @@ def get_bootinfo():
# home page # home page
bootinfo.modules = webnotes.get_config().modules bootinfo.modules = webnotes.get_config().modules
bootinfo.app_version = webnotes.get_config().app_version
bootinfo.framework_version = webnotes.get_config().framework_version
bootinfo.hidden_modules = webnotes.conn.get_global("hidden_modules") bootinfo.hidden_modules = webnotes.conn.get_global("hidden_modules")
bootinfo.doctype_icons = dict(webnotes.conn.sql("""select name, icon from bootinfo.doctype_icons = dict(webnotes.conn.sql("""select name, icon from
tabDocType where ifnull(icon,'')!=''""")) tabDocType where ifnull(icon,'')!=''"""))


Loading…
取消
儲存