<%@language = "javascript" %>
<% /*
    $Revision$
    $Id$

    File:           mld_workflow.asp

    Description:    Bewerken van een workflow *schema*

    Context:

    Notes:
*/
%>
<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_mld_workflowstep.inc" -->
<%

var  this_model = new model_mld_workflow();

var scf_params =
    {
        "search": {
            "autosearch": true,
                "filters": [
                    "name"
                ]
        },
        "list": {
            "columns": [
                "id",
                "name",
                "issuetype"
            ]
        },
        "edit":{
            "xxmodal": true
        },
        "layout": {
            "miscellaneous": {
                "label": L("mld_workflow"),
                "icon" : "fa-code-branch"
            }
        }
    };

    scf_params.wrap =
            {
                "no_default_frames": true,
                "frames": [{ url: "mld_workflowstep.asp?mode=list&mystart={0}", title: L("mld_workflowstep_m"), icon: "fa-list"
                           },
                           { url: "workflow_graph_png.asp?start_key={0}", title: L("mld_workflow_hint"), icon: "fa-project-diagram"
                           },
                           { url: "workflow_overview.asp?start_key={0}", title: L("lcl_mld_workflow_overview"), icon: "fa-th"
                           }]
            };

    scaffolding(this_model, scf_params)
%><% ASPPAGE_END(); %>
