basic_overview.smarty
3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<h2>{i18n arg_name=$workflow_name}States and Transitions: #name#{/i18n}</h2>
<p class="descriptiveText">The core of a workflow is the <strong>process</strong>
that documents in that workflow follow. These processes are made up of <strong>states</strong>
(which documents are in, e.g. "reviewed" or "published") and <strong>transitions</strong>
which documents follow (e.g. "submit for review" or "publish").</p>
<p><a class="ktAction ktEdit ktActionDescribed" href="{addQS context=$context}action=transitionconnections{/addQS}">Configure Workflow Process</a>
<a href="{addQS context=$context}action=transitionconnections{/addQS}">Configure Workflow Process</a> <span class="descriptiveText">(e.g. which transitions lead to which states)</span></p>
<div style="width: 40%; float: left; ">
<h3>States</h3>
<a class="ktAction ktAdd ktActionDescribed" href="{addQS context=$context}action=addstates{/addQS}">Add New States</a>
<a href="{addQS context=$context}action=addstates{/addQS}">Add New States</a><br /><br />
<table class="kt_collection" cellspacing="0">
<thead>
<tr>
<th>State Name</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
{foreach from=$states item=oState}
<tr>
<td>
{$oState->getName()}
</td>
<td>
<a class="ktAction ktEdit" href="{addQS context=$context}action=editstate&fStateId={$oState->getId()}{/addQS}">Edit State</a>
</td>
<td>
<a class="ktAction ktDelete" href="{addQS context=$context}action=deletestate&fStateId={$oState->getId()}{/addQS}">Delete State</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<div style="float: left; width: 40%; margin-left: 1em;">
<h3>Transitions</h3>
<a class="ktAction ktAdd ktActionDescribed" href="{addQS context=$context}action=addtransitions{/addQS}">Add New Transitions</a>
<a href="{addQS context=$context}action=addtransitions{/addQS}">Add New Transitions</a><br /><br />
<table class="kt_collection" cellspacing="0">
<thead>
<tr>
<th>Transition Name</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
{foreach from=$transitions item=oTransition}
<tr>
<td>
{$oTransition->getName()}
</td>
<td>
<a class="ktAction ktEdit" href="{addQS context=$context}action=edittransition&fTransitionId={$oTransition->getId()}{/addQS}">Edit</a>
</td>
<td>
<a class="ktAction ktDelete" href="{addQS context=$context}action=deletetransition&fTransitionId={$oTransition->getId()}{/addQS}">Delete</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>