File: transitions.dtml

package info (click to toggle)
zope-cmfworkflow 0.4.1-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 324 kB
  • ctags: 274
  • sloc: python: 1,808; makefile: 49; sh: 39
file content (54 lines) | stat: -rw-r--r-- 1,637 bytes parent folder | download | duplicates (2)
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
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<form action="&dtml-absolute_url;" method="POST">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<dtml-in values sort=id>
 <tr bgcolor="#eeeeee">
  <th align="left" colspan="2">
   <input type="checkbox" name="ids:list" value="&dtml-id;" />
   <a href="&dtml.url_quote-id;/manage_properties">&dtml-id;</a>
   &nbsp;
   &dtml-title;
  </th>
 </tr>

 <tr>
  <th width="10%"></th>
  <td>
   Destination state: <code><dtml-if new_state_id>&dtml-new_state_id;<dtml-else>(Remain in state)</dtml-if></code> <br />
   Trigger: <dtml-var expr="(trigger_type == 0 and 'Automatic') or
                            (trigger_type == 1 and 'User action') or
                            (trigger_type == 2 and 'WorkflowMethod')">
   <br />
   <dtml-if getGuardSummary><dtml-var getGuardSummary><br /></dtml-if>
   <dtml-if actbox_name>Adds to actions box: <code>&dtml-actbox_name;</code></dtml-if>
  </td>
 </tr>
 <dtml-if var_exprs>
 <tr>
  <th align="right">Variables</th>
  <th></th>
 </tr>
 <dtml-in getVariableExprs sort>
  <tr>
   <td></td>
   <td>
    &dtml-sequence-key; = &dtml-sequence-item;
   </td>
  </tr>
 </dtml-in>
 </dtml-if>
<dtml-else>
 <tr><td><em>No transitions defined.</em></td></tr>
</dtml-in>
</table>
<dtml-if values>
<input type="submit" name="manage_renameForm:method" value="Rename" />
<input type="submit" name="deleteTransitions:method" value="Delete" />
</dtml-if>
<hr />
<h3>Add a transition</h3>
<p>Id <input type="text" name="id" value="" />
<input type="submit" name="addTransition:method" value="Add" /></p>
</form>
<dtml-var manage_page_footer>