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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
|
<tal:bugtask
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
define="data view/data">
<tr tal:attributes="class data/row_css_class; id data/row_id">
<td>
<a tal:condition="data/expandable"
tal:attributes="href data/task_link" class="bugtask-expander">
​
</a>
</td>
<td style="padding: 0.3em 0em 0.3em 1.5em"
tal:condition="data/indent_task">
<span class="sprite milestone"></span>
<tal:not-conjoined-task condition="not: data/is_conjoined_slave">
<a
tal:attributes="href data/target_link"
tal:content="view/getSeriesTargetName"
/>
</tal:not-conjoined-task>
<a tal:condition="data/user_can_delete"
tal:attributes="
id string:bugtask-delete-${data/form_row_id};
href data/delete_link"
class="sprite remove bugtask-delete" style="margin-left: 4px"></a>
</td>
<td tal:condition="not:data/indent_task">
<span tal:attributes="id string:bugtarget-picker-${data/row_id}">
<span class="yui3-activator-data-box">
<span title="This project’s license has not been specified.">
<a tal:attributes="href data/target_link;
title data/target_link_title;
class context/target/image:sprite_css"
tal:content="context/bugtargetdisplayname" />
</span>
</span>
<button class="lazr-btn yui3-activator-act yui3-activator-hidden">
Edit
</button>
<div class="yui3-activator-message-box yui3-activator-hidden"></div>
<a tal:condition="data/user_can_delete"
tal:attributes="
id string:bugtask-delete-${data/form_row_id};
href data/delete_link"
class="sprite remove bugtask-delete" style="margin-left: 4px"></a>
</span>
</td>
<tal:conjoined-task condition="data/is_conjoined_slave">
<td colspan="5" style="vertical-align: middle">
<span class="discreet lesser" style="font-size: 100%">
Status tracked in
<tal:master tal:replace="view/getConjoinedMasterName">
Hoary
</tal:master>
</span>
</td>
</tal:conjoined-task>
<tal:not-conjoined-task condition="not:data/is_conjoined_slave">
<td style="width: 20%; vertical-align: middle">
<div class="status-content"
style="width: 100%; float: left"
tal:define="status context/status">
<span tal:condition="not: data/user_can_edit_status"
style="float: left"
tal:attributes="class string:value status${status/name};"
tal:content="status/title"/>
<tal:edit-status tal:condition="data/user_can_edit_status">
<a href="+editstatus"
tal:attributes="class string:value status${status/name};
href data/edit_link"
style="float: left"
tal:content="status/title" />
<a href="+editstatus" style="margin-left: 3px"
tal:attributes="href data/edit_link">
<img class="editicon" src="/@@/edit" />
</a>
</tal:edit-status>
</div>
</td>
<td tal:condition="data/user_can_edit_importance"
style="width: 20%; vertical-align: middle">
<div class="importance-content"
style="width: 100%; float: left">
<a href="+editstatus"
tal:attributes="class string:value ${data/importance_css_class};
href data/edit_link"
style="float: left"
tal:content="data/importance_title" />
<a href="+editstatus" style="margin-left: 3px"
tal:attributes="href data/edit_link">
<img class="editicon" src="/@@/edit" />
</a>
</div>
</td>
<td tal:condition="not: data/user_can_edit_importance"
style="width: 15em; vertical-align: middle">
<div class="importance-content"
style="width: 100%; float: left">
<span
tal:attributes="class string:value ${data/importance_css_class}"
style="float: left"
tal:content="data/importance_title" />
</div>
</td>
<td style="width:20%; margin: 0; padding: 0;
vertical-align: middle; padding-left: 0.5em"
tal:define="bugwatch context/bugwatch;">
<tal:has_watch condition="bugwatch">
<div style="text-decoration: none; padding: 0.25em"
tal:define="active_bugtracker bugwatch/bugtracker/active;">
<tal:bugtracker-active condition="active_bugtracker">
<tal:block define="last_error_type bugwatch/last_error_type;">
<span tal:condition="not:last_error_type"
class="sprite bug-remote"></span>
<a tal:condition="last_error_type"
tal:attributes="href view/bug_watch_error_message/help_url"
target="help"
class="icon help">
<span class="sprite warning-icon"
tal:attributes=
"title view/bug_watch_error_message/message"
id="bugwatch-error-sprite"></span>
</a>
</tal:block>
</tal:bugtracker-active>
<span tal:condition="not:active_bugtracker"
class="sprite warning-icon"></span>
<a tal:replace="structure bugwatch/fmt:external-link" />
</div>
</tal:has_watch>
<tal:has_no_watch condition="not: bugwatch">
<span tal:attributes="id string:assignee-picker-${data/row_id}"
tal:define="assignee context/assignee">
<span class="yui3-activator-data-box">
<a tal:condition="assignee"
tal:attributes="href assignee/fmt:url;
class assignee/image:sprite_css"
tal:content="assignee/fmt:displayname" />
<tal:unassigned condition="not: assignee">
Unassigned
</tal:unassigned>
</span>
<a class="assignee-edit"
tal:condition="python: view.many_bugtasks and
view.user_can_edit_assignee"
href="+editstatus"
tal:attributes="href data/edit_link">
<img class="editicon" src="/@@/edit" />
</a>
<button class="lazr-btn yui3-activator-act yui3-activator-hidden">
Edit
</button>
<div class="yui3-activator-message-box yui3-activator-hidden"></div>
</span>
</tal:has_no_watch>
</td>
<td style="width: 20%; vertical-align: middle">
<div class="milestone-content"
tal:condition="data/target_has_milestones"
style="width: 100%; float: left">
<a tal:condition="view/user_has_privileges"
tal:attributes="href data/edit_link;
class string:nulltext addicon js-action sprite add ${view/style_for_add_milestone}">
Target to milestone
</a>
<a class="value"
tal:attributes="href context/milestone/fmt:url | nothing"
tal:content="context/milestone/title | nothing" />
<a tal:condition="view/user_has_privileges"
tal:attributes="href data/edit_link"
><img src="/@@/edit"
tal:attributes="class string:editicon ${view/style_for_edit_milestone}"
/></a>
</div>
</td>
</tal:not-conjoined-task>
</tr>
<tal:form condition="view/displayEditForm">
<tr
tal:attributes="id data/form_row_id"
tal:condition="data/expandable"
class="bugtask-collapsible-content unseen"
>
<td colspan="7" tal:content="structure view/edit_view" />
</tr>
</tal:form>
</tal:bugtask>
|