source: trunk/skins/lemill/cloud.pt @ 3127

Revision 3127, 1.5 KB checked in by jukka, 9 years ago (diff)

Cleaned a bit.

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
6<div metal:fill-slot="main">
7  <div class="cloud" tal:define="results results | python:context.portal_catalog.browsingSearch(request); wordtuples python:context.portal_catalog.buildCloudData(results, request);">
8    <tal:taggy repeat="wordinfo wordtuples"><tal:taggyvalues define="nicename python:wordinfo[0]; tagsize python:wordinfo[1]; link_url python:wordinfo[2]; "><a tal:attributes="href link_url;class string:size$tagsize" tal:content="nicename" i18n:translate="" /> </tal:taggyvalues></tal:taggy>
9  </div>
10  <div class="clear" style="height:40px"></div>
11  <div class="cloud">
12    <p class="size1" tal:define="cloud_type request/form/base | nothing">
13    <a style="text-decoration: underline;" tal:condition="python:cloud_type=='language'" href="browse?language=&empties=Language" i18n:translate="">No language specified</a>
14    <a style="text-decoration: underline;" tal:condition="python:cloud_type=='subject_area'" href="browse?subject_area=&empties=getSubject_area" i18n:translate="">No subject area specified</a>
15    <a style="text-decoration: underline;" tal:condition="python:cloud_type=='target_group'" href="browse?target_group=&empties=getTarget_group" i18n:translate="">No target group specified</a>
16    <a style="text-decoration: underline;" tal:condition="python:cloud_type=='tags'" href="browse?tags=&empties=getTags" i18n:translate="">No tags specified</a>
17    </p>
18  </div>
19</div>
20
21</html>
22
Note: See TracBrowser for help on using the repository browser.