bugfix
This commit is contained in:
parent
0b565c5cfa
commit
f6522e744b
@ -14,6 +14,8 @@ ui_tmpl = """
|
||||
{
|
||||
"widgettype":"Tree",
|
||||
"options":{
|
||||
"width":"100%",
|
||||
"height":"100%",
|
||||
{% if not notitle %}
|
||||
{% if title %}
|
||||
"title":"{{title}}",
|
||||
|
8
tmpls.py
8
tmpls.py
@ -3,6 +3,8 @@ data_browser_tmpl = """
|
||||
"id":"{{tblname}}_tbl",
|
||||
"widgettype":"Tabular",
|
||||
"options":{
|
||||
"width":"100%",
|
||||
"height":"100%",
|
||||
{% if not notitle %}
|
||||
{% if title %}
|
||||
"title":"{{title}}",
|
||||
@ -17,6 +19,9 @@ data_browser_tmpl = """
|
||||
"toolbar":{{json.dumps(toolbar, indent=4, ensure_ascii=False)}},
|
||||
{% endif %}
|
||||
"css":"card",
|
||||
{% if editor %}
|
||||
"editor":{{json.dumps(editor, indent=4, ensure_ascii=False)}},
|
||||
{% endif %}
|
||||
{% if not noedit %}
|
||||
"editable":{
|
||||
"new_data_url":{%- raw -%}"{{entire_url('add_{%- endraw -%}{{summary[0].name}}{%- raw -%}.dspy')}}",{%- endraw %}
|
||||
@ -38,9 +43,6 @@ data_browser_tmpl = """
|
||||
{% if browserfields %}
|
||||
"browserfields": {{json.dumps(browserfields, indent=4, ensure_ascii=Fasle)}},
|
||||
{% endif %}
|
||||
{% if editor %}
|
||||
"editor":{{json.dumps(editexclouded, indent=4, ensure_ascii=False)}},
|
||||
{% endif %}
|
||||
{% if editexclouded %}
|
||||
"editexclouded":{{json.dumps(editexclouded, indent=4, ensure_ascii=False)}},
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user