Changeset 137 for waeup_product


Ignore:
Timestamp:
1 Nov 2005, 16:50:42 (19 years ago)
Author:
joachim
Message:

=temporary view all fixed accomodation view

Location:
waeup_product/trunk/skins
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py

    r134 r137  
    6060
    6161Title = { ###(
    62          'type': 'Heading Widget',
     62         'type': 'String Widget',
    6363         'data': {
    6464                'fields': ['Title'],
     
    6666                'is_i18n': 0,
    6767                'is_required': 1,
    68                 'label_edit': 'Name',
     68                'label': 'Title',
     69                'label_edit': 'Title',
    6970                'display_width': 40,
    7071                'size_max': 200,
  • waeup_product/trunk/skins/waeup_default/layout_waeup_view.pt

    r76 r137  
    1 <metal:block use-macro="here/waeup_layout_lib/macros/table_view" />
     1<metal:block use-macro="here/waeup_layout_lib/macros/div_view" />
  • waeup_product/trunk/skins/waeup_default/temporary_view_all.pt

    r136 r137  
    3232 
    3333 
    34   <table cellspacing="0" cellpadding="0">
    3534  <tal:block condition="python: len(items)">
    36     <tr tal:repeat="item items">
    37       <td colspan="1">
    38         <a href="jamb"
    39            tal:attributes="href item/absolute_url"
    40            tal:content="item/title_or_id"></a>
    41       </td>
    42     </tr>
    43   </tal:block>
    44   <tal:block condition="python: not len(items)">
    45   (No items contained here !)
    46   </tal:block>
    47   </table>
    48 
     35    <p tal:repeat="item items">
     36          <span tal:content="item/portal_type" />   
     37            <a href="jamb"
     38               tal:attributes="href item/absolute_url"
     39               tal:content="item/title_or_id"></a>
     40      </p>
     41      </tal:block>
     42      <tal:block condition="python: not len(items)">
     43        (No items contained here !)
     44      </tal:block>
    4945 
    5046  </metal:block>
  • waeup_product/trunk/skins/waeup_default/waeup_layout_lib.pt

    r135 r137  
    3030             tal:define="layout options/layout">
    3131  <table>
    32     <tal:block repeat="row python:layout['rows'][1:]">
     32    <tal:block repeat="row layout/rows">
    3333      <tr>
    3434        <tal:block repeat="cell row">
  • waeup_product/trunk/skins/waeup_student/process_waeup_login.py

    r125 r137  
    99
    1010if request.form.get('submit') == 'Login':
    11     waeup = context.portal_catalog(id = 'demouni')[0]
     11    #waeup = context.portal_catalog(id = 'demouni')[0]
     12    waeup = context.portal_catalog(portal_type = 'University')[0]
    1213    if "Manager" in member.getRoles():
    1314        return
Note: See TracChangeset for help on using the changeset viewer.