Changeset 16793
- Timestamp:
- 10 Feb 2022, 10:17:56 (3 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/students
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r16782 r16793 62 62 NigeriaStudentFilesUploadPage, 63 63 ) 64 65 64 from waeup.uniben.students.interfaces import ( 66 65 ICustomStudent, … … 75 74 IMedicalHistory, 76 75 ICustomCourseTicket) 76 from waeup.uniben.students.deplinks import DEPLINKS 77 77 from waeup.uniben.interfaces import MessageFactory as _ 78 78 … … 928 928 929 929 def update(self): 930 if self.context.p_state != ' paid' \931 or self.conte st.p_category != 'plag_test':930 if self.context.p_state != 'unpaid' \ 931 or self.context.p_category != 'plag_test': 932 932 self.flash(_('Forbidden'), type="danger") 933 933 self.redirect(self.url(self.context)) 934 934 return super(PlagTestInfoPage, self).update() 935 936 @property 937 def facdep(self): 938 facdepkey = "%s-%s" % (self.context.student.faccode, 939 self.context.student.depcode) 940 return DEPLINKS[facdepkey] -
main/waeup.uniben/trunk/src/waeup/uniben/students/browser_templates/plagtestinfopage.pt
r16782 r16793 1 <h1> Plagiarism TestTest</h1>1 <h1>Final Year Plagiarism Test</h1> 2 2 3 <p> Hello World</p>3 <p>Please upload your document <a tal:attributes="href view/facdep">here</a></p>
Note: See TracChangeset for help on using the changeset viewer.