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

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

Improvements and optimizations to i18n strings.
Closes #524, spent 2h.

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="text_offer_templates">We offer you a selection of templates that you can use for creating your learning material online.</p>
11
12            <tal:def define="templates context/getTemplates">
13
14            <ul>
15                <li tal:repeat="templ templates/keys"><a href="addMaterial?use_template=simple-text"
16                    tal:attributes="href python:'createObject?type_name='+templates.get(templ).get('meta_type');
17                                    i18n:translate string:link_template_$templ;"
18                    tal:content="python:templates.get(templ).get('title')">PLACEHOLDER</a></li>
19            </ul>
20            </tal:def>
21        </div>
22
23    </body>
24</html>
25
Note: See TracBrowser for help on using the repository browser.