bugfix
This commit is contained in:
parent
4687856af5
commit
108c1ff793
@ -1,14 +1,14 @@
|
|||||||
{% set definitions = get_org_flow_definition(request) %}
|
{% set definitions = get_org_flow_definition(request) %}
|
||||||
{% if definitions %}
|
{% if definitions %}
|
||||||
{
|
{
|
||||||
"widgettype": "menu",
|
"widgettype": "Menu",
|
||||||
"options": {
|
"options": {
|
||||||
"cwidth": 10,
|
"cwidth": 10,
|
||||||
"target": "page-center",
|
"target": "page-center",
|
||||||
"height": "100%",
|
"height": "100%",
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"name": "instances",
|
"name": "definition",
|
||||||
"icon": "{{entire_url('/bricks/imgs/workflow.svg')}}",
|
"icon": "{{entire_url('/bricks/imgs/workflow.svg')}}",
|
||||||
"label": "新建流程",
|
"label": "新建流程",
|
||||||
"url": "{{entire_url('new_definition')}}"
|
"url": "{{entire_url('new_definition')}}"
|
||||||
@ -23,7 +23,7 @@
|
|||||||
{
|
{
|
||||||
"name": "instances",
|
"name": "instances",
|
||||||
"icon": "{{entire_url('/bricks/imgs/wf-instance.svg')}}",
|
"icon": "{{entire_url('/bricks/imgs/wf-instance.svg')}}",
|
||||||
"label": "新建流程",
|
"label": "新建实例",
|
||||||
"url": "{{entire_url('new_instance.ui')}}"
|
"url": "{{entire_url('new_instance.ui')}}"
|
||||||
},
|
},
|
||||||
{% set instances = list_org_instances(request, flow_def_id=d.id) %}
|
{% set instances = list_org_instances(request, flow_def_id=d.id) %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user