- -
-

pyams_workflow.zmi package

- -
-

Submodules

-
-
-

pyams_workflow.zmi.interfaces module

-
-
-

pyams_workflow.zmi.transition module

-
-
-class pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm(context, request)
-

Bases: pyams_form.form.AJAXAddForm

-

Workflow content transition AJAX form

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_workflow.zmi.transition.WorkflowContentTransitionForm(context, request)
-

Bases: pyams_zmi.form.AdminDialogAddForm

-

Workflow content transition form

-
-
-createAndAdd(data)
-
- -
-
-edit_permission
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class
-
- -
-
-legend
-
- -
-
-nextURL()
-
- -
-
-transition
-
- -
-
-updateActions()
-
- -
-
-updateWidgets(prefix=None)
-
- -
- -
-
-

pyams_workflow.zmi.versions module

-
-
-class pyams_workflow.zmi.versions.WorkflowVersionHistoryCommentColumn(context, request, table)
-

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

-

Workflow version history comment column

-
-
-renderCell(item)
-
- -
-
-weight = 15
-
- -
- -
-
-class pyams_workflow.zmi.versions.WorkflowVersionHistoryDateColumn(context, request, table)
-

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

-

Workflow version history date column

-
-
-attrName = 'date'
-
- -
-
-cssClasses = {'td': 'nowrap'}
-
- -
-
-renderCell(item)
-
- -
-
-weight = 1
-
- -
- -
-
-class pyams_workflow.zmi.versions.WorkflowVersionHistoryMenuItem(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Workflow history menu item

-
-
-icon_class = 'fa-history'
-
- -
-
-label = 'Version history'
-
- -
-
-url = '#version-history.html'
-
- -
- -
-
-class pyams_workflow.zmi.versions.WorkflowVersionHistoryPrincipalColumn(context, request, table)
-

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

-

Workflow version history principal column

-
-
-attrName = 'principal'
-
- -
-
-renderCell(item)
-
- -
-
-weight = 10
-
- -
- -
-
-class pyams_workflow.zmi.versions.WorkflowVersionHistoryTable(context, request)
-

Bases: pyams_skin.table.BaseTable

-

Workflow version history table

-
-
-cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}
-
- -
-
-data_attributes
-
- -
-
-hide_body_toolbar = True
-
- -
-
-sortOn = None
-
- -
-
-title
-
- -
- -
-
-class pyams_workflow.zmi.versions.WorkflowVersionHistoryTargetColumn(context, request, table)
-

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

-

Workflow version history source column

-
-
-attrName = 'target_state'
-
- -
-
-getValue(obj)
-
- -
-
-weight = 5
-
- -
- -
-
-class pyams_workflow.zmi.versions.WorkflowVersionHistoryValuesAdapter(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Workflow version history values adapter

-
-
-values
-
- -
- -
-
-class pyams_workflow.zmi.versions.WorkflowVersionHistoryView(context, request)
-

Bases: pyams_skin.container.ContainerView

-

Workflow version history view

-
-
-table_class
-

alias of WorkflowVersionHistoryTable

-
- -
- -
-
-

pyams_workflow.zmi.workflow module

-
-
-class pyams_workflow.zmi.workflow.WorkflowContentNameColumn(context, request, table)
-

Bases: pyams_skin.table.NameColumn

-

Workflow content name column

-
-
-getValue(obj)
-
- -
-
-name_field = 'title'
-
- -
- -
-
-class pyams_workflow.zmi.workflow.WorkflowMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.toolbar.ToolbarMenu

-

Workflow menu

-
-
-css_class = 'btn btn-xs btn-danger dropdown-toggle'
-
- -
-
-label = 'Change status...'
-
- -
-
-label_css_class = ''
-
- -
- -
-
-class pyams_workflow.zmi.workflow.WorkflowMenuItem(context, request, view, manager, transition)
-

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

-

Workflow menu item

-
- -
-
-pyams_workflow.zmi.workflow.get_old_versions(request)
-

Get old_versions of template

-
- -
-
-

Module contents

-
-
- - -