Changeset 5871 for main/waeup.plonetheme/trunk/waeup/plonetheme/skins/waeup_plonetheme_custom_templates
- Timestamp:
- 17 Mar 2011, 21:18:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.plonetheme/trunk/waeup/plonetheme/skins/waeup_plonetheme_custom_templates/member_search_form.pt
r5870 r5871 13 13 tal:define="search_view here/@@pas_search; 14 14 listing_allowed python: checkPermission('List portal members', here); 15 results python:listing_allowed and here.portal_membership.searchForMembers(request) or []; 15 results python:listing_allowed and here.portal_membership.searchForMembers(); 16 dummy python:results.sort(key=lambda x: x.getProperty('position') or '9999'); 16 17 DateTime python:modules['DateTime'].DateTime; 17 18 is_anonymous python:here.portal_membership.isAnonymousUser(); 18 19 is_manager python:test(here.portal_membership.checkPermission('Manage portal', here), 1, 0); "> 19 20 21 20 22 <h1 class="documentFirstHeading" 21 23 i18n:translate="heading_list_members">Project Members</h1> … … 37 39 portal_url context/@@plone_portal_state/portal_url"> 38 40 39 40 41 41 <table align="left" width=100%> 42 42 <tbody> 43 <tal:repeat tal:define="Groups python:(('Nigeria','Nigerian Group'), ('Germany','German Group'), ('Ghana','Ghanaian Group'), ('Niger','Niger Group'))"43 <tal:repeat tal:define="Groups python:(('Nigeria','Nigerian Group'), ('Germany','German Group'), )" 44 44 tal:repeat="Group Groups"> 45 45 <tr><td colspan="5"> 46 46 <h2 style="padding: 0.5em 0em" tal:content="python:Group[1]" /> 47 47 </td></tr> 48 49 50 48 51 49 <tal:block tal:repeat="result results"> 52 50 53 <tr tal:define="id result/getUserName | nothing; 51 <tr style="border: 10px solid white" 52 tal:define="id result/getUserName | nothing; 54 53 author python:pm.getMemberInfo(id) or {}; 55 54 portrait python:pm.getPersonalPortrait(id); … … 60 59 <td style="width: 8%; vertical-align:top;"> 61 60 <a href="#" tal:attributes="href portrait/absolute_url"> 62 <img src="" alt="" class="portraitPhoto" height="80"61 <img src="" alt="" class="portraitPhoto" width="60" 63 62 style="float: left; margin: 0em;" 64 63 tal:attributes="src portrait/absolute_url" /> … … 66 65 </td> 67 66 68 <td style="width: 17%; vertical-align:top;">67 <td style="width: 20%; vertical-align:top;"> 69 68 <span tal:condition="python: author['fullname']"> 70 69 <span tal:content="python: author['fullname']">name</span> … … 80 79 </td> 81 80 82 <td style="width: 5 7%; padding: 0em 2em 0em 0em; vertical-align:top;">81 <td style="width: 50%; padding: 0em 2em 0em 0em; vertical-align:top;"> 83 82 <span tal:content="author/description|nothing">Biography</span> 84 83 </td> 85 84 86 <td style="width: 18%; vertical-align:top;">85 <td style="width: 22%; vertical-align:top;"> 87 86 <span i18n:translate="location">Location</span>: <span tal:content="author/location|nothing">Location</span> 88 87 <br /> 89 <span i18n:translate="position">Position</span>: <span tal:content="p osition">Position</span>88 <span i18n:translate="position">Position</span>: <span tal:content="python: ' '.join(position.split()[1:])">Position</span> 90 89 <div tal:condition="python: author['fullname'] and not is_anonymous"> 91 90 <a href="#" tal:attributes="href string:${portal_url}/author/${id}" … … 107 106 </div> 108 107 </td> 109 110 108 </tr> 111 112 109 113 110 </tal:block> … … 117 114 118 115 </div> 119 120 116 <div class="visualClear" id="clear-space-before-navigation"><!-- --></div> 121 122 123 117 <div class="visualClear" id="clear-space-after-navigation"><!-- --></div> 124 118 … … 133 127 134 128 </html> 135
Note: See TracChangeset for help on using the changeset viewer.