Changeset 7454 for main/waeup.sirp/branches/henrik-bootstrap/src/waeup
- Timestamp:
- 12 Jan 2012, 11:53:01 (13 years ago)
- Location:
- main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/staffsitelayout.pt
r7451 r7454 45 45 tal:condition="python: layout.isAuthenticated()" 46 46 tal:content="structure provider:breadcrumbs" /> 47 <span tal:condition="layout/getStudentName" class="wfstatus"> 48 Student Id: 49 <span tal:replace="python:context.getStudent().student_id">Id 50 </span> 51 State: 52 <span tal:replace="python:context.getStudent().state">State 53 </span> 54 </span> 47 55 </ul> 48 56 -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/tests/test_browser.py
r7453 r7454 922 922 self.assertEqual(self.browser.url, self.student_path + 923 923 '/contactstudent?subject=%s' % urlmessage) 924 self.assertTrue('State: <span>school fee paid</span>' 925 in self.browser.contents) 924 self.assertTrue('school fee paid' in self.browser.contents) 926 925 IWorkflowInfo(self.student).fireTransition('register_courses') 927 926 self.browser.open(L110_student_path) … … 929 928 self.assertTrue('Course list request has been rejected' 930 929 in self.browser.contents) 931 self.assertTrue('State: <span>school fee paid</span>' 932 in self.browser.contents) 930 self.assertTrue('school fee paid' in self.browser.contents) 933 931 # CA does now see the contact form and can send a message 934 932 self.browser.getControl(name="form.subject").value = 'Important subject'
Note: See TracChangeset for help on using the changeset viewer.