9215.1.26
by Gavin Panella
Move the portlets into the main body of the bug tracker page and switch the page layout to main_only if the user is not logged-in. |
1 |
<div
|
2 |
xmlns:tal="http://xml.zope.org/namespaces/tal" |
|
3 |
xmlns:metal="http://xml.zope.org/namespaces/metal" |
|
4 |
xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
|
5 |
class="portlet" id="portlet-watches"> |
|
6 |
<h2>Bug watches</h2> |
|
7 |
<tal:navigation
|
|
8 |
replace="structure view/batchnav/@@+navigation-links-upper" /> |
|
9 |
<tal:block define="watches view/batchnav/batch"> |
|
10 |
<table class="sortable listing" id="latestwatches"> |
|
11 |
<thead>
|
|
12 |
<tr>
|
|
13 |
<th>Launchpad bug</th> |
|
14 |
<th>Remote bug</th> |
|
15 |
<th>Status</th> |
|
10635.3.6
by Graham Binns
UI changes for Michael. |
16 |
<th>Last check</th> |
10635.3.3
by Graham Binns
Added lastchecked and next_check to the table of watches on a bugtracker page. |
17 |
<th>Next check</th> |
9215.1.26
by Gavin Panella
Move the portlets into the main body of the bug tracker page and switch the page layout to main_only if the user is not logged-in. |
18 |
</tr>
|
19 |
</thead>
|
|
20 |
<tbody>
|
|
21 |
<tal:watches repeat="watch watches"> |
|
22 |
<tr tal:define="show watch/bug/required:launchpad.View"> |
|
23 |
<tal:hide-watch-details condition="not:show"> |
|
24 |
<td>
|
|
25 |
<img alt="" src="/@@/bug" /> |
|
26 |
#<span tal:replace="watch/bug/id">34</span>: |
|
27 |
<em>(Private)</em> |
|
28 |
</td>
|
|
29 |
<td><em>-</em></td> |
|
30 |
<td></td>
|
|
31 |
</tal:hide-watch-details>
|
|
32 |
<tal:show-watch-details condition="show"> |
|
33 |
<td>
|
|
34 |
<img alt="" src="/@@/bug" /> |
|
35 |
<a href="#" tal:attributes="href watch/bug/fmt:url"> |
|
36 |
#<span tal:replace="watch/bug/id">34</span>: |
|
37 |
<span tal:replace="watch/bug/title"> |
|
38 |
Launchpad Bug Title |
|
39 |
</span>
|
|
40 |
</a>
|
|
41 |
</td>
|
|
42 |
<td>
|
|
43 |
<a tal:replace="structure watch/fmt:external-link-short"> |
|
44 |
1234 |
|
45 |
</a>
|
|
46 |
</td>
|
|
47 |
<td><tal:status tal:replace="watch/remotestatus"/></td> |
|
10635.3.3
by Graham Binns
Added lastchecked and next_check to the table of watches on a bugtracker page. |
48 |
<td>
|
49 |
<span
|
|
50 |
tal:attributes="title watch/lastchecked/fmt:datetime" |
|
51 |
tal:content="watch/lastchecked/fmt:approximatedate"> |
|
52 |
13 Jan 2004 |
|
53 |
</span>
|
|
54 |
</td>
|
|
55 |
<td>
|
|
56 |
<span tal:content="watch/next_check/fmt:datetime"> |
|
57 |
13 Jan 2004 |
|
58 |
</span>
|
|
59 |
</td>
|
|
9215.1.26
by Gavin Panella
Move the portlets into the main body of the bug tracker page and switch the page layout to main_only if the user is not logged-in. |
60 |
</tal:show-watch-details>
|
61 |
</tr>
|
|
62 |
</tal:watches>
|
|
63 |
</tbody>
|
|
64 |
</table>
|
|
65 |
</tal:block>
|
|
66 |
<tal:navigation
|
|
67 |
replace="structure view/batchnav/@@+navigation-links-lower" /> |
|
68 |
</div>
|