Changeset 330


Ignore:
Timestamp:
18 Jul 2006, 08:40:52 (18 years ago)
Author:
Henrik Bettermann
Message:
 
Location:
WAeUP_SRP/trunk/skins
Files:
4 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>
  • WAeUP_SRP/trunk/skins/waeup_custom/getCustomDisplayParams.py

    r296 r330  
    88##title=
    99##
     10# $Id: getCustomDisplayParams.py 32717 2006-02-10 13:35:19Z mturcu $
    1011# $Id: getCustomDisplayParams.py 32717 2006-02-10 13:35:19Z mturcu $
    1112"""
     
    3031                      'nav_action': 'folder_view',
    3132                      'filter': 0,
    32                       'detail_tab_columns': ['long_title',
    33                                               #'type',
     33                      'detail_tab_columns': ['long_title',
     34                                             'id',
     35                                             'typetext',
    3436                                              #'size',
    3537                                              #'date',
     
    4143
    4244return custom_params
     45
  • WAeUP_SRP/trunk/skins/waeup_default/temporary_view_all_form.pt

    r288 r330  
    2020 
    2121    <p>This is a temporary view of the object with id <em tal:content="here/id" />
    22        of type <em tal:content="here/portal_type" />
    23        which can be customized according to the customer's needs.</p>       
     22       of type <em tal:content="here/portal_type" />.</p>       
    2423 
    2524    <br />
    2625    <span  tal:condition="python:context.portal_type != 'University' and doc.render()"  tal:omit-tag="">
    27       <p>object's workflowstate: <span tal:replace="python: context.portal_workflow.getInfoFor(context,'review_state',None)"/></p>
    28       <p>Exemplary view of the <strong>object's data fields</strong>: </p>
    29       <tal:block 
    30           tal:content="structure python:doc.render()" />
     26    <tal:block  tal:content="structure python:doc.render()" />
    3127    </span>
    3228    <br />     
  • WAeUP_SRP/trunk/skins/waeup_default/unchecked.pt

    r320 r330  
    3131                  title item/Title;
    3232                 ">
    33   <td i18n:translate="">
    34     <span tal:replace="item/id" />
    35   </td>
    3633  <td>
    3734  <a href="url"
     
    4037  </a>
    4138  </td>
     39
     40  <td i18n:translate="">
     41    <span tal:replace="item/id" />
     42  </td>
    4243 
    4344  <td>
    44     <span tal:replace="item/Type" />
     45    <span tal:replace="item/portal_type" />
    4546  </td>
    4647 </tr>
Note: See TracChangeset for help on using the changeset viewer.