source: trunk/skins/lemill/portlet_related_stories.pt @ 469

Revision 469, 1.0 KB checked in by tarmo, 13 years ago (diff)

All strings in ZPTs are now i18n'd. Refs #524, spent 90m,
30m remaining. Need to fix i18n:domains still.

Line 
1<html xmlns:tal="http://xml.zope.org/namespaces/tal"
2      xmlns:metal="http://xml.zope.org/namespaces/metal"
3      i18n:domain="lemill">
4<body>
5    <div metal:define-macro="portlet"
6        tal:define="related context/find_related_stories"
7        tal:condition="python:not(isAnon) and context.meta_type in ['Activity', 'Tool', 'Piece', 'Material'] and related">
8        <dl class="portlet" id="portlet-">
9           
10            <dt class="portletHeader" i18n:translate="heading_related_stories">
11            Related stories
12            </dt>
13 
14            <dd class="portletItem">
15            <div tal:repeat="rel related" i18n:translate="">
16                <a i18n:name="title" href="rel/getURL" tal:attributes="href rel/getURL" tal:content="rel/Title" style="display:inline"></a>
17                by
18                <span i18n:name="creator" tal:replace="rel/Creator" style="display:inline" />
19            </div>
20            </dd>
21           
22            <dd class="portletFooter">
23            </dd>
24   
25        </dl>
26
27    </div>
28</body>
29</html>
Note: See TracBrowser for help on using the repository browser.