- Timestamp:
- 30 Jul 2007, 21:08:11 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_directory/search_members_results.pt
r1958 r2082 19 19 <table tal:condition="results" summary="search result list"> 20 20 <tr> 21 <th tal:condition="isAdmin" i18n:translate="label_selection">22 Selection21 <th tal:condition="isAdmin"> 22 23 23 </th> 24 24 <tal:block repeat="field fields"> … … 49 49 </td> 50 50 </tal:block> 51 <td tal:define="roles python:data['roles']">51 <td nowrap tal:define="roles python:data['roles']"> 52 52 <form action="." method="get" 53 53 tal:condition="roles" 54 54 tal:attributes="action context/portal_url"> 55 <select class="form-element" name=":action"55 <select tal:condition="python:0" class="form-element" name=":action" 56 56 onChange="location.href='/'+this.options[this.selectedIndex].value" 57 57 tal:attributes="onChange string:location.href='${context/portal_url}'+this.options[this.selectedIndex].value"> 58 <option value="/search_members_form"> Goto </option> 59 <option tal:repeat="role roles" value="." tal:content="role/getId" 60 tal:attributes="value string:${role/getPath}/folder_localrole_form"></option> 58 <option value="/search_members_form"> Goto </option> 59 <option tal:repeat="role roles" value="." 60 tal:attributes="value string:${role/getPath}/folder_localrole_form"> 61 <span tal:define="pathobj python:role.getPath().split('/')" 62 tal:content="python:pathobj[4]+'/'+pathobj[5]+'/'+pathobj[7]+'/'+pathobj[8]" /> 63 </option> 61 64 </select> 62 65 <input tal:condition="python:0" class="form-element" type="submit" name="submit" value=" view " /> 63 66 </form> 64 <span tal:condition="python:0" tal:repeat="role roles"> 65 <a href="" tal:attributes="href string:${role/getPath}/folder_localrole_form" 66 tal:content="role/getId"></a><br /> 67 <span tal:condition="python:1" tal:repeat="role roles"> 68 <a href="" tal:define="pathobj python:role.getPath().replace('certificates/','').split('/')" 69 tal:attributes="href string:${role/getPath}/folder_localrole_form"> 70 <span tal:content="python:pathobj[4]" /> 71 <span tal:repeat="item python:pathobj[5:]" 72 tal:content="python:' / '+item" /> 73 </a><br /> 67 74 </span> 68 75 </td>
Note: See TracChangeset for help on using the changeset viewer.