Ignore:
Timestamp:
17 Jun 2009, 17:38:28 (15 years ago)
Author:
Henrik Bettermann
Message:

replace deprecated align attribute (right and center)

File:
1 edited

Legend:

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

    r903 r4305  
    2424    <tr>
    2525      <td tal:condition="display_buttons"> </td>
    26       <th tal:condition="type_in_tabs" align="center">
     26      <th tal:condition="type_in_tabs" style='text-align:center'>
    2727        <strong tal:define="sort_type python:sort_by=='type'"
    2828           tal:omit-tag="not:sort_type"><a href=""
     
    4040           i18n:translate="label_info_tab_title"></a></strong></th>
    4141
    42       <th tal:condition="python:id_in_tabs and display_buttons" align="center">
     42      <th tal:condition="python:id_in_tabs and display_buttons" style='text-align:center'>
    4343        <strong tal:define="sort_id python:sort_by=='id'"
    4444           tal:omit-tag="not:sort_id"><a href=""
     
    4646           i18n:translate="label_info_tab_id"></a>ID</strong></th>
    4747
    48       <th tal:condition="typetext_in_tabs" align="center">
     48      <th tal:condition="typetext_in_tabs" style='text-align:center'>
    4949        <strong tal:define="sort_typetext python:sort_by=='typetext'"
    5050           tal:omit-tag="not:sort_typetext"><a href=""
     
    5353
    5454
    55       <th tal:condition="size_in_tabs" align="center">
     55      <th tal:condition="size_in_tabs" style='text-align:center'>
    5656        <strong tal:define="sort_size python:sort_by=='size'"
    5757           tal:omit-tag="not:sort_size"><a href=""
    5858           tal:attributes="href python:'%s/changeDisplayParams?display_order=%s' % (context_url, test(sort_size and direction=='asc','size_desc','size_asc'))"
    5959           i18n:translate="label_info_tab_size"></a></strong></th>
    60       <th tal:condition="date_in_tabs" align="center">
     60      <th tal:condition="date_in_tabs" style='text-align:center'>
    6161        <strong tal:define="sort_date python:sort_by=='date'"
    6262           tal:omit-tag="not:sort_date"><a href=""
    6363           tal:attributes="href python:'%s/changeDisplayParams?display_order=%s' % (context_url, test(sort_date and direction=='asc','date_desc','date_asc'))"
    6464           i18n:translate="label_info_tab_date"></a></strong></th>
    65       <th tal:condition="author_in_tabs" align="center">
     65      <th tal:condition="author_in_tabs" style='text-align:center'>
    6666        <strong tal:define="sort_author python:sort_by=='author'"
    6767           tal:omit-tag="not:sort_author"><a href=""
     
    6969           i18n:translate="label_info_tab_author"></a></strong></th>
    7070        <th tal:condition="display_buttons"></th>
    71         <th tal:condition="python: display_buttons and status_in_tabs" align="center">
     71        <th tal:condition="python: display_buttons and status_in_tabs" style='text-align:center'>
    7272        <strong tal:define="sort_status python:sort_by=='status'"
    7373           tal:omit-tag="not:sort_status"><a href=""
    7474           tal:attributes="href python:'%s/changeDisplayParams?display_order=%s' % (context_url, test(sort_status and direction=='asc','status_desc','status_asc'))"
    7575           i18n:translate="label_info_tab_status"></a></strong></th>
    76       <th tal:condition="version_in_tabs" align="center">
     76      <th tal:condition="version_in_tabs" style='text-align:center'>
    7777        <strong tal:define="sort_version python:sort_by=='version'"
    7878           tal:omit-tag="not:sort_version"><a href=""
     
    9898        </td>
    9999      </span>
    100       <td align="center" tal:condition="type_in_tabs">
     100      <td style='text-align:center' tal:condition="type_in_tabs">
    101101      <img tal:replace="structure python:here.getImgTag(info['icon'],
    102102                        base_url=base_url, title=info['type'])" />
     
    153153    <a tal:condition="python: display_buttons and isSectionManager and context.portal_type not in ('Certificate',)"
    154154       href="dummy"  tal:attributes="href string:${item/absolute_url}/cpsdocument_edit_form">[edit]</a></td>
    155   <td align="center" tal:condition="size_in_tabs">
     155  <td style='text-align:center' tal:condition="size_in_tabs">
    156156    <span tal:condition="info/size|nothing" tal:content="info/size"> </span></td>
    157   <td align="center" tal:condition="date_in_tabs">
     157  <td style='text-align:center' tal:condition="date_in_tabs">
    158158    <span tal:content="info/time_str">May 6,...</span></td>
    159   <td align="center" tal:condition="author_in_tabs">
     159  <td style='text-align:center' tal:condition="author_in_tabs">
    160160    <span tal:content="info/creator"> </span></td>
    161   <td align="center" tal:condition="python:status_in_tabs and display_buttons and info['review_state'] in ('unchecked','checked',)"
     161  <td style='text-align:center' tal:condition="python:status_in_tabs and display_buttons and info['review_state'] in ('unchecked','checked',)"
    162162      tal:content="info/review_state" tal:attributes="class info/review_state"
    163163      i18n:translate="">published</td>
    164   <td align="center" tal:condition="version_in_tabs">
     164  <td style='text-align:center' tal:condition="version_in_tabs">
    165165    v-<tal:block replace="info/rev" />
    166166    <tal:block i18n:translate=""
Note: See TracChangeset for help on using the changeset viewer.