Changeset 125 for waeup_product
- Timestamp:
- 29 Oct 2005, 18:57:08 (19 years ago)
- Location:
- waeup_product/trunk/skins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/logged_in.pt
r50 r125 29 29 </p> 30 30 <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> 32 32 </p> 33 33 </tal:block><!-- isAnon --> -
waeup_product/trunk/skins/waeup_default/portlet_session_info.pt
r124 r125 10 10 </div> 11 11 <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}"> 13 13 Go to your personal area 14 14 </a> 15 15 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 /> 17 18 18 19 <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> 20 21 </tal:block> 21 22 <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> 24 26 </tal:block> 25 27 </tal:block> 28 -
waeup_product/trunk/skins/waeup_student/process_waeup_login.py
r106 r125 9 9 10 10 if request.form.get('submit') == 'Login': 11 waeup = context.portal_catalog(id = ' waeup')[0]11 waeup = context.portal_catalog(id = 'demouni')[0] 12 12 if "Manager" in member.getRoles(): 13 13 return 14 14 return response.redirect(waeup.getURL()) 15 15 16 16 member_id = str(member) 17 17 ma = getattr(context,member_id) … … 22 22 pdid = 'PERSONAL' 23 23 ma.invokeFactory('StudentPersonal', pdid) 24 pd = getattr(ma,pdid) 24 pd = getattr(ma,pdid) 25 25 pkw = {} 26 26 pkw['sex'] = getattr(jamb,'sex')
Note: See TracChangeset for help on using the changeset viewer.