source: trunk/skins/lemill/lemill_browse_members.pt @ 1914

Revision 1914, 4.6 KB checked in by pjotr, 12 years ago (diff)

Wrong tag closing

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
7<metal:block fill-slot="top_slot"
8             tal:define="dummy python:request.set('disable_border',1)" />
9
10<div metal:fill-slot="main"
11     tal:define="Batch python:modules['Products.CMFPlone'].Batch;
12                 b_size python:30;b_start python:0;b_start request/b_start | b_start;
13                 bb_dict python:context.getBrowseArgumentsForMembers(request);                 
14                 topic_get_method context/getmethod;
15                 limit_display limit_display|request/limit_display|nothing;
16                 use_view_action site_properties/typesUseViewActionInListings;
17                 folderContents folderContents|here/queryCatalogForTopics;
18                 over_limit python: limit_display and len(folderContents) > limit_display;
19                 folderContents python: (over_limit and folderContents[:limit_display]) or folderContents;
20                 results folderContents|request/results|nothing;
21                 macros here/lemill_browse_macros/macros;
22                 ">
23
24    <h1 i18n:translate="title_browse_members">Browse members</h1>
25
26
27    <!-- tagcloud -->
28
29    <div class="tagcloud" tal:condition="not:bb_dict/has_args" >
30     <tal:tagclouddef define="wordtuples python:here.getTagCloud(results, topic_get_method)">
31
32            <tal:tagcloud metal:use-macro="macros/forwarding_tagcloud" />
33
34    </tal:tagclouddef>
35    <tal:rss_and_resultcount metal:use-macro="macros/rss_count" />
36    </div>
37
38
39    <!-- listing -->
40
41    <div tal:condition="bb_dict/has_args" tal:omit-tag="">
42
43
44     <form name="groups"
45           method="GET"
46           action="">
47
48      <table tal:define="selectables python:context.getSelectablesForMembers(results)">
49        <tr>
50         <td align="right"><a href="../language" i18n:translate="label_language">Language</a>:</td>
51         <td align="left" tal:define="selection_type string:language_skills">
52           <tal:select_macro metal:use-macro="macros/select_macro" />
53         </td>
54        </tr>
55        <tr>
56         <td align="right"><a href="../country" i18n:translate="label_location">Location</a>:</td>
57         <td align="left" tal:define="selection_type string:location_country">
58           <tal:select_macro metal:use-macro="macros/select_macro" />
59         </td>
60        </tr>
61        <tr>
62         <td align="right"><a href="../skills" i18n:translate="label_skills">Skills</a>:</td>
63         <td align="left" tal:define="selection_type string:skills">
64           <tal:select_macro metal:use-macro="macros/select_macro" />
65         </td>
66        </tr>
67        <tr>
68         <td align="right"><a href="../interests" i18n:translate="label_interests">Interests</a>:</td>
69         <td align="left" tal:define="selection_type string:interests">
70           <tal:select_macro metal:use-macro="macros/select_macro" />
71         </td>
72        </tr>
73        <tr>
74         <td align="right"><a href="../subject_area" i18n:translate="label_subject_area">Subject area</a>:</td>
75         <td align="left" tal:define="selection_type string:subject_area">
76           <tal:select_macro metal:use-macro="macros/select_macro" />
77         </td>   
78        </tr>
79     </table>               
80      <div class="formControls">
81           <input class="context"
82                  type="submit"
83                  value="Show"
84                  i18n:attributes="value label_show;"
85                  tal:attributes="tabindex tabindex/next"
86                  />                 
87      </div>
88
89     </form>
90   
91
92      <fieldset style="border-width:0px">
93
94       <div tal:condition="not: results">
95            <p><strong i18n:domain="plone" i18n:translate="description_no_results_found">No results were found.</strong></p>
96       </div>
97
98       <span tal:define="batch python:Batch(results, b_size, int(b_start), orphan=1);" tal:omit-tag="">
99
100           <!-- Search results -->
101           <span metal:use-macro="here/resource_list_macro/macros/members_list" />
102
103           <!-- Navigation -->
104           <div metal:use-macro="here/batch_macros/macros/navigation" />
105       </span>
106   
107       <tal:rss_and_resultcount metal:use-macro="macros/rss_count"/>
108      </fieldset>
109    </div>
110
111<p i18n:domain="plone" i18n:translate="search_results_advanced">
112Did you not find what you were looking for? Try the
113<span i18n:name="advanced_search">
114<a href=""
115   i18n:translate="search_results_advanced_link"
116   tal:attributes="href string:$portal_url/lemill_search_form">Advanced Search</a>
117</span>
118for more precise search options.
119</p>
120
121</div>
122
123
124</html>
125
Note: See TracBrowser for help on using the repository browser.