Changeset 92 for waeup_product/trunk


Ignore:
Timestamp:
26 Oct 2005, 12:44:09 (19 years ago)
Author:
joachim
Message:

=make anonymous work

Location:
waeup_product/trunk/skins
Files:
2 edited

Legend:

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

    r90 r92  
    8585                 'name': 'Students',
    8686                 'action': 'students_folder_view',
    87                  'condition': "python:'Manager' in member.getRoles()",
     87                 'condition': "python:member and 'Manager' in member.getRoles()",
    8888                 'permissions': (View,)},
    8989                {
  • waeup_product/trunk/skins/waeup_student/students_folder_view_all.pt

    r89 r92  
    1818               >
    1919    <span tal:condition="python: mtool.isAnonymousUser()">
    20       Please login or
    21       <br /><a href="" tal:attributes="href string:${context/absolute_url}/admission_status">check you Jambadmission</a>.
    22       <br /><a href="" tal:attributes="href string:${context/absolute_url}/check_admission">check you Jambadmission</a>.
     20      Please <a href="" tal:attributes="href string:${context/portal_url}/login_form">login</a> or <br />
     21      <a href="" tal:attributes="href string:${context/absolute_url}/admission_status">check you Jambadmission</a>.
    2322    </span>
    2423  </metal:block>
Note: See TracChangeset for help on using the changeset viewer.