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

Revision 469, 1019 bytes 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="http://www.w3.org/1999/xhtml" xml:lang="en"
2    lang="en"
3    metal:use-macro="here/form_template/macros/master"
4    i18n:domain="lemill">
5    <body>
6
7        <div metal:fill-slot="main" style="width:100%">
8            <h1 i18n:translate="heading_choose_template">Step 2: Choose a template</h1>
9           
10            <p i18n:translate="">We offer you a selection of templates that you can use for
11            creating your learning material online.</p>
12
13            <tal:def define="templates context/getTemplates">
14
15            <ul>
16                <li tal:repeat="templ templates/keys"><a href="addMaterial?use_template=simple-text"
17                    tal:attributes="href python:'createObject?type_name='+templates.get(templ).get('meta_type');
18                                    i18n:translate string:link_template_$templ;"
19                    tal:content="python:templates.get(templ).get('title')">PLACEHOLDER</a></li>
20            </ul>
21            </tal:def>
22        </div>
23
24    </body>
25</html>
26
Note: See TracBrowser for help on using the repository browser.