source: trunk/skins/lemill/lemill_tools_view.pt @ 1322

Revision 1322, 1.7 KB checked in by pjotr, 13 years ago (diff)

Fixes #1109, we need to update translation fo that the first letters would go to Uppercase

Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
2      lang="en"
3      metal:use-macro="here/main_template/macros/master"
4      i18n:domain="lemill">
5<body>
6
7<div metal:fill-slot="main" style="width:100%" tal:define="search_results python:here.getSearchObject(portal_type='Tool')">
8
9    <span tal:define="samples python:here.getSamples(search_results);" tal:condition="samples" tal:omit-tag="">
10   
11    <h1 i18n:translate="heading_featured_tools">Featured tools</h1>
12   
13    <div metal:use-macro="here/lemill_activities_view/macros/featured"/>
14
15   </span>   
16    <h1 i18n:translate="heading_browse_tools">Browse tools</h1>
17   
18    <ul>
19        <li tal:define="results python:here.getTopResults(search_results, 'Language')">
20            <a i18n:translate="label_browse_by_language" href="language" class="byTextsFont">By language</a>:
21            <span tal:repeat="result results">
22                <a href="" tal:attributes="href python:'language?Language='+here.url_quote(result)" tal:content="python:here.script_getPrettyLanguage(result)">PLACEHOLDER</a>,
23            </span>
24            <a href="language">...</a>
25        </li>
26       
27        <li>
28            <a i18n:translate="label_browse_by_title" href="tools" class="byTextsFont">By title</a>
29        </li>
30        <li tal:define="results python:here.getTopResults(search_results, 'getTags')">
31            <a i18n:translate="label_browse_by_tags" href="tags" class="byTextsFont">By tags</a>:
32            <span tal:repeat="result results">
33                <a href="" tal:attributes="href python:'tags?getTags='+here.url_quote(result)" tal:content="result">PLACEHOLDER</a>,
34            </span>
35            <a href="tags">...</a>
36        </li>
37    </ul>
38   
39</div>
40</body>
41</html>
42
Note: See TracBrowser for help on using the repository browser.