| |
2 |
2 |
<blockquote> |
| |
3 |
3 |
<em>No active tasks</em> |
| |
4 |
4 |
</blockquote> |
| |
5 |
5 |
</if> |
| |
6 |
6 |
<else> |
| |
7 |
7 |
<table cellspacing=0 cellpadding=0 border=0> |
| |
8 |
8 |
<tr> |
| |
9 |
9 |
<td bgcolor=#cccccc> |
| |
10 |
10 |
<table width="100%" cellspacing=1 cellpadding=4 border=0> |
| |
11 |
11 |
<tr valign=middle bgcolor="#ffffe4"> |
| |
12 |
12 |
<th>Task Name</th> |
| |
13 |
13 |
<th>State</th> |
| |
14 |
14 |
<th>Activated Date</th> |
| |
15 |
15 |
<th>Started Date</th> |
| |
16 |
16 |
<th>Deadline</th> |
| |
17 |
17 |
<th>Assignees</th> |
| |
18 |
18 |
<th>Action</th> |
| |
19 |
19 |
</tr> |
| |
20 |
20 |
<multiple name="active_tasks"> |
| |
21 |
21 |
<tr bgcolor="#eeeeee"> |
| |
22 |
|
<td><a href="task?task_id=@active_tasks.task_id@&return_url=@return_url@>@active_tasks.transition_name@</a></td> |
| |
|
22 |
<td><a href="task?task_id=@active_tasks.task_id@&return_url=@return_url@">@active_tasks.transition_name@</a></td> |
| |
23 |
23 |
<td>@active_tasks.state@</td> |
| |
24 |
24 |
<td>@active_tasks.enabled_date_pretty@</td> |
| |
25 |
25 |
<td> |
| |
26 |
26 |
<if @active_tasks.started_date_pretty@ not nil>@active_tasks.started_date_pretty@</if> |
| |
27 |
27 |
<else><em>not started</em></else> |
| |
28 |
28 |
</td> |
| |
29 |
29 |
<td> |
| |
30 |
30 |
<if @active_tasks.deadline_pretty@ not nil>@active_tasks.deadline_pretty@</if> |
| |
31 |
31 |
<else> </else> |
| |
32 |
32 |
</td> |
| |
33 |
33 |
<td> |
| |
34 |
34 |
<if @active_tasks.assignee_party_id@ not nil> |
| |
35 |
35 |
<group column="task_id"> |
| |
36 |
36 |
<li> |
| |
37 |
37 |
<if @active_tasks.assignee_url@ not nil> |
| |
38 |
38 |
<a href="@active_tasks.assignee_url@">@active_tasks.assignee_name@</a> |
| |
39 |
39 |
</if> |
| |
40 |
40 |
<else> |
| |
41 |
41 |
@active_tasks.assignee_name@ |
| |
42 |
42 |
</else> |