Ignore:
Timestamp:
4 Nov 2005, 22:20:14 (19 years ago)
Author:
joachim
Message:

=PERSONAL invisible

Location:
waeup_product/trunk/skins
Files:
1 added
4 edited

Legend:

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

    r154 r155  
    221221          'action': 'temporary_view_all',
    222222          'condition': '',
    223           'permission': (StudentManage,UniversityManage),
     223          'permission': (View,StudentManage,UniversityManage),
    224224          'category': 'object',
    225225          'visible': True,},
     
    244244          'name'      : 'Personal Data',
    245245          'action'    : 'string:${object/absolute_url}/PERSONAL',
    246           'condition':  '',
     246          'condition':  "python:getattr(object,'PERSONAL',None)",
    247247          'permission': (ModifyPortalContent,)},
    248248          {
  • waeup_product/trunk/skins/waeup_default/portlet_session_info.pt

    r128 r155  
    99      <span tal:condition="python: 0" tal:content="python:mtool.getCPSCandidateLocalRoles(context)" />
    1010    </div>
    11    
    12    
    1311    <br />
    14    
    1512    <a href="" tal:condition="python: 'Student' in member.getRoles() and not 'UniversityManager' in member.getRoles()"
    1613               tal:attributes="href string:${context/portal_url}/students/${member}">
    1714           Go to your personal area
    1815    </a>
    19    
    20  
     16    <br />
    2117    <a href="" tal:condition="python: 0"
    2218               tal:attributes="href string:${context/portal_url}/cpsdirectory_entry_view?dirname=members&id=${member}">       
    2319          Edit your Preferences
    2420    </a>
    25    
    26    
    27    
     21    <br />
    2822    <a href="" i18n:translate=""
    2923               tal:attributes="href string:logout">
  • waeup_product/trunk/skins/waeup_default/temporary_view_all.pt

    r143 r155  
    4444     <td>
    4545      <i>
    46       <a href="jamb"
     46      <a href="xxx" tal:condition="python: getattr(item,'id',None)"
    4747               tal:attributes="href item/absolute_url"
    4848               tal:content="item/title_or_id"></a></i>
     49              <span tal:condition="python: not getattr(item,'id',None)" tal:content="item/title_or_id"/>
    4950     </td>
    5051     </tr>
  • waeup_product/trunk/skins/waeup_student/check_admission.py

    r106 r155  
    4545    sf = getattr(context,s_id,None)
    4646    if sf and getattr(sf,'PERSONAL',None):
    47         psm = "Your already admitted, pleae login"
     47        psm = "Your already admitted, please login"
    4848        return context.check_admission_form(rendered = res,
    4949                                 psm = psm,
Note: See TracChangeset for help on using the changeset viewer.