Changeset 125


Ignore:
Timestamp:
29 Oct 2005, 18:57:08 (19 years ago)
Author:
Henrik Bettermann
Message:

bug fixes

Location:
waeup_product/trunk/skins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_default/logged_in.pt

    r50 r125  
    2929          </p>
    3030          <p>
    31             or <a href="" tal:attributes="href string:${base_url}/sections/unidemo/students/check_admission">check your admission status</a>
     31            or <a href="" tal:attributes="href string:${base_url}check_admission">check your admission status</a>
    3232          </p>
    3333        </tal:block><!-- isAnon -->
  • waeup_product/trunk/skins/waeup_default/portlet_session_info.pt

    r124 r125  
    1010    </div>
    1111    <a href="" tal:condition="python: 'Student' in member.getGroups()"
    12          tal:attributes="href string:${here/portal_url}/students/${member}">
     12         tal:attributes="href string:${base_url}/students/${member}">
    1313         Go to your personal area
    1414    </a>
    1515
    16     <a href="" tal:condition="python: 0" tal:attributes="href string:${context/portal_url}/cpsdirectory_entry_view?dirname=members&id=${member}">Edit your Preferences</a><br />
     16    <a href="" tal:condition="python: 0"
     17               tal:attributes="href string:${context/portal_url}/cpsdirectory_entry_view?dirname=members&id=${member}">Edit your Preferences</a><br />
    1718
    1819    <a href="" i18n:translate=""
    19         tal:attributes="href string:${here/portal_url}/logout">Log out</a>
     20        tal:attributes="href string:logout">Log out</a>
    2021  </tal:block>
    2122  <tal:block condition="anonymous">
    22     <div>You are currently not logged in </div><br />
    23     <a href="" tal:attributes="href string:${here/portal_url}/login_form">Log in</a>
     23    <div>You are currently not logged in </div>
     24    <br />
     25    <a href="" tal:attributes="href string:login_form">Log in</a>
    2426  </tal:block>
    2527</tal:block>
     28           
  • waeup_product/trunk/skins/waeup_student/process_waeup_login.py

    r106 r125  
    99
    1010if request.form.get('submit') == 'Login':
    11     waeup = context.portal_catalog(id = 'waeup')[0]
     11    waeup = context.portal_catalog(id = 'demouni')[0]
    1212    if "Manager" in member.getRoles():
    1313        return
    1414    return response.redirect(waeup.getURL())
    15        
     15
    1616member_id = str(member)
    1717ma = getattr(context,member_id)
     
    2222pdid = 'PERSONAL'
    2323ma.invokeFactory('StudentPersonal', pdid)
    24 pd = getattr(ma,pdid)   
     24pd = getattr(ma,pdid)
    2525pkw = {}
    2626pkw['sex'] = getattr(jamb,'sex')
Note: See TracChangeset for help on using the changeset viewer.