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
|
<div
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
class="portlet" id="portlet-related-bugs"
tal:define="links view/buglinks">
<h2>Related bugs</h2>
<div class="portletBody portletContent">
<ul tal:condition="links">
<li class="sprite bug" tal:repeat="link links">
<a tal:attributes="href link/bug/fmt:url">#<span
tal:replace="link/bug/id">122</span>:
<span tal:replace="link/title">foo bar baz</span></a>
</li>
</ul>
<p tal:condition="not: links"><i>No related bugs.</i></p>
</div>
<ul>
<li>
<a href="+linkbug" class="menu-link-linkbug sprite add">Link to bug</a>
</li>
<li condition="context/bugs">
<a href="+unlinkbug" class="sprite remove">Remove bug link</a>
</li>
</ul>
</div>
|