TemplatesWorkflows module
Workflows templates
Default templates the Workflows module renders, the controller that renders each one and what it receives. A file at the same path in your site repository replaces the platform's.
Admin view
workflows/backend/branch-transitions/add.html
BranchTransitions\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$branchTransition |
BranchTransition |
Single (empty) BranchTransition record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/workflows/backend/branch-transitions/add.html in your site repository.
workflows/backend/workflows/add.html
Workflows\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$workflow |
Workflow |
Single (empty) Workflow record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/workflows/backend/workflows/add.html in your site repository.
workflows/backend/workflows/edit.html
Workflows\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$workflow |
Workflow |
Retrieved Workflow record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/workflows/backend/workflows/edit.html in your site repository.
workflows/backend/workflows/manage.html
Workflows\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$workflows |
Collection<Workflow> |
Collection of Workflows |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/workflows/backend/workflows/manage.html in your site repository.