Ignore:
Timestamp:
18 Jul 2006, 08:40:52 (19 years ago)
Author:
Henrik Bettermann
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt

    r326 r330  
    66             tal:define="title_in_tabs python: 'title' in detail_tab_columns;
    77                         long_title_in_tabs python:'long_title' in detail_tab_columns;
     8                         id_in_tabs python:'id' in detail_tab_columns;
     9                         typetext_in_tabs python:'typetext' in detail_tab_columns;
    810                         type_in_tabs python:'type' in detail_tab_columns;
    911                         size_in_tabs python:'size' in detail_tab_columns;
     
    1719<tal:block condition="start">
    1820  <tal:block replace='structure string:&lt;table class="contentListing" width="100%" summary="content layout" id="folder_content">' />
     21
     22
    1923  <thead>
    2024    <tr>
     
    3539           tal:attributes="href python:'%s/changeDisplayParams?display_order=%s' % (context_url, test(sort_title and direction=='asc','title_desc','title_asc'))"
    3640           i18n:translate="label_info_tab_title"></a></strong></th>
     41
     42      <th tal:condition="id_in_tabs" align="center">
     43        <strong tal:define="sort_id python:sort_by=='id'"
     44           tal:omit-tag="not:sort_id"><a href=""
     45           tal:attributes="href python:'%s/changeDisplayParams?display_order=%s' % (context_url, test(sort_id and direction=='asc','id_desc','id_asc'))"
     46           i18n:translate="label_info_tab_id"></a></strong></th>
     47
     48      <th tal:condition="typetext_in_tabs" align="center">
     49        <strong tal:define="sort_typetext python:sort_by=='typetext'"
     50           tal:omit-tag="not:sort_typetext"><a href=""
     51           tal:attributes="href python:'%s/changeDisplayParams?display_order=%s' % (context_url, test(sort_typetext and direction=='asc','typetext_desc','typetext_asc'))"
     52           i18n:translate="label_info_tab_typetext"></a></strong></th>
     53
     54
    3755      <th tal:condition="size_in_tabs" align="center">
    3856        <strong tal:define="sort_size python:sort_by=='size'"
     
    6381    </tr>
    6482  </thead>
     83
     84
     85
     86
     87
     88
     89
    6590  <tal:block replace='structure string:&lt;tbody id="folder_content_tbody">' />
    6691</tal:block>
     
    93118                               title info/description;">
    94119    <strong tal:content="info/title_or_id">ID</strong></a></td>
     120
    95121  <td tal:condition="long_title_in_tabs">
    96122    <a href="" tal:attributes="href string:${info/url}${action};
    97123                               title info/description;">
    98124    <strong tal:content="info/long_title|info/title_or_id">ID</strong></a></td>
     125
     126
     127  <td tal:condition="id_in_tabs">
     128    <span tal:content="info/id">ID</span>
     129  </td>
     130
     131  <td tal:condition="typetext_in_tabs">
     132    <span tal:content="info/type">ID</span>
     133  </td>
     134
     135
    99136  <td align="right" tal:condition="display_buttons">
    100137    <a href="dummy"  tal:attributes="href string:${item/absolute_url}/academics_edit_form">[edit]</a></td>
Note: See TracChangeset for help on using the changeset viewer.