Changeset 331


Ignore:
Timestamp:
18 Jul 2006, 09:02:58 (18 years ago)
Author:
Henrik Bettermann
Message:

thead included

Location:
WAeUP_SRP/trunk/skins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/search_form.pt

    r325 r331  
    4545                            i18n:name="nb_results">n</span> results.
    4646    </p>
    47     <div id="searchResults"
    48       tal:define="items_per_page python:20;">
    49       <metal:block use-macro="here/content_lib_display_contents/macros/display_contents" />
     47
     48     
     49<table width="100%" cellspacing="0" cellpadding="2"
     50      class="folderButtons"
     51      tal:define="can_add python:checkPerm('Add portal content', here);
     52                  can_del python:checkPerm('Delete objects', here);">
     53
     54
     55
     56  <thead>
     57  <tr><td><strong>Title</strong></td><td><strong>Id</strong></td><td><strong>Type</strong></td></tr>
     58  </thead>
     59
     60  <tbody tal:repeat="item items">
     61
     62  <tr><td></td><td></td><td></td></tr>
     63
     64  <tr tal:define="objURL string:${item/getURL}/view;
     65                  objPath item/getPath;
     66                  title item/Title;
     67                 ">
     68  <td>
     69  <a href="url"
     70      tal:attributes="href objURL">
     71   <span tal:content="python: title or '(No title)'" />
     72  </a>
     73  </td>
     74
     75  <td i18n:translate="">
     76    <span tal:replace="item/id" />
     77  </td>
     78 
     79  <td>
     80    <span tal:replace="item/portal_type" />
     81  </td>
     82 </tr>
     83
     84 </tbody>
     85</table>
     86
     87
     88
     89
     90    <div style="text-align:right;" class="group">
    5091    </div>
    51 
    5292  </tal:block>
    5393
  • WAeUP_SRP/trunk/skins/waeup_default/unchecked.pt

    r330 r331  
    2222      tal:define="can_add python:checkPerm('Add portal content', here);
    2323                  can_del python:checkPerm('Delete objects', here);">
     24
     25  <thead>
     26  <tr><td><strong>Title</strong></td><td><strong>Id</strong></td><td><strong>Type</strong></td></tr>
     27  </thead>
     28
    2429
    2530  <tbody tal:repeat="item results">
Note: See TracChangeset for help on using the changeset viewer.