Changeset 12482
- Timestamp:
- 16 Jan 2015, 06:52:21 (10 years ago)
- Location:
- main/kofacustom.sampleuni/trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.sampleuni/trunk/CHANGES.txt
r11829 r12482 2 2 ******* 3 3 4 1.2dev (unreleased) 5 =================== 4 1.2.dev0 (unreleased) 5 ===================== 6 7 * Pin waeup.kofa 1.3.1 6 8 7 9 * Adjust to layout changes made in base package. -
main/kofacustom.sampleuni/trunk/layout/static/css/base.css
r11731 r12482 98 98 } 99 99 100 .wfstatus {100 .wfstatus, .wfstatus-sub { 101 101 text-align: center; 102 102 background-color: #909090; … … 320 320 } 321 321 322 /* docutils stuff */ 323 324 .section h1 { 325 font-size: 30px} 326 327 .section h2 { 328 font-size: 24px} 329 330 .section h3 { 331 font-size: 18px} 332 333 .section h4 { 334 font-size: 14px} 335 322 336 /* Smartphone styles */ 323 337 -
main/kofacustom.sampleuni/trunk/setup.py
r11709 r12482 9 9 'grokui.admin', 10 10 'grokcore.startup', 11 'waeup.kofa >= 1. 2',11 'waeup.kofa >= 1.3.1', 12 12 ], 13 13 -
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/applicants/export.py
r11687 r12482 20 20 import grok 21 21 from waeup.kofa.applicants.interfaces import IApplicantBaseData 22 from waeup.kofa.applicants.export import Applicant sExporter22 from waeup.kofa.applicants.export import ApplicantExporter 23 23 from kofacustom.sampleuni.applicants.interfaces import ICustomApplicant 24 24 25 class CustomApplicant sExporter(ApplicantsExporter):25 class CustomApplicantExporter(ApplicantExporter): 26 26 """Exporter for Custom Applicants. 27 27 """ -
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/applicants/tests/test_browser.py
r11687 r12482 29 29 from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup 30 30 from waeup.kofa.applicants.tests.test_batching import ApplicantImportExportSetup 31 from kofacustom.sampleuni.applicants.export import CustomApplicant sExporter31 from kofacustom.sampleuni.applicants.export import CustomApplicantExporter 32 32 from kofacustom.sampleuni.applicants.batching import CustomApplicantProcessor 33 33 … … 37 37 layer = FunctionalLayer 38 38 39 class Applicant sExporterTest(ApplicantImportExportSetup):39 class ApplicantExporterTest(ApplicantImportExportSetup): 40 40 41 41 layer = FunctionalLayer 42 42 43 43 def setUp(self): 44 super(Applicant sExporterTest, self).setUp()44 super(ApplicantExporterTest, self).setUp() 45 45 self.outfile = os.path.join(self.workdir, 'myoutput.csv') 46 46 self.cat = getUtility(ICatalog, name='applicants_catalog') … … 76 76 # set values we can expect in export file 77 77 self.applicant = self.setup_applicant(self.applicant) 78 exporter = CustomApplicant sExporter()78 exporter = CustomApplicantExporter() 79 79 exporter.export_all(self.app, self.outfile) 80 80 result = open(self.outfile, 'rb').read() -
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/export.py
r11687 r12482 25 25 ICustomStudentOnlinePayment) 26 26 from waeup.kofa.students.export import ( 27 Student sExporter,27 StudentExporter, 28 28 StudentStudyCourseExporter, 29 29 StudentStudyLevelExporter, … … 32 32 from waeup.kofa.utils.helpers import iface_names 33 33 34 class CustomStudent sExporter(StudentsExporter):34 class CustomStudentExporter(StudentExporter): 35 35 """Exporter for Students. 36 36 """ -
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/tests/test_export.py
r11687 r12482 7 7 from kofacustom.sampleuni.utils.utils import CustomKofaUtils 8 8 from kofacustom.sampleuni.students.export import ( 9 CustomStudent sExporter, CustomStudentPaymentsExporter)9 CustomStudentExporter, CustomStudentPaymentsExporter) 10 10 from kofacustom.sampleuni.testing import FunctionalLayer 11 11 12 12 13 class CustomStudent sExporterTest(StudentImportExportSetup):13 class CustomStudentExporterTest(StudentImportExportSetup): 14 14 15 15 layer = FunctionalLayer 16 16 17 17 def setUp(self): 18 super(CustomStudent sExporterTest, self).setUp()18 super(CustomStudentExporterTest, self).setUp() 19 19 self.setup_for_export() 20 20 result_entry = ResultEntry( … … 32 32 def test_ifaces(self): 33 33 # make sure we fullfill interface contracts 34 obj = CustomStudent sExporter()34 obj = CustomStudentExporter() 35 35 verifyObject(ICSVExporter, obj) 36 verifyClass(ICSVExporter, CustomStudent sExporter)36 verifyClass(ICSVExporter, CustomStudentExporter) 37 37 return 38 38 … … 42 42 # set values we can expect in export file 43 43 self.setup_student(self.student) 44 exporter = CustomStudent sExporter()44 exporter = CustomStudentExporter() 45 45 exporter.export_all(self.app, self.outfile) 46 46 result = open(self.outfile, 'rb').read() … … 90 90 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 91 91 'r_code,r_desc,student_id,state,current_session\r\n666,' 92 '12.12,2012-04-01 13:12:01 ,schoolfee,1,my-id,p-item,'93 '100,2012,paid,2012-04-01 14:12:01 ,12.12,r-code,,'92 '12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,p-item,' 93 '100,2012,paid,2012-04-01 14:12:01#,12.12,r-code,,' 94 94 'A111111,created,2012\r\n', 95 95 result -
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/viewlets.py
r11687 r12482 22 22 from kofacustom.sampleuni.students.interfaces import ( 23 23 ICustomStudentStudyCourse, ICustomStudentStudyLevel) 24 from waeup.kofa.students. viewlets import (25 FileDisplay,FileUpload, Image)24 from waeup.kofa.students.fileviewlets import ( 25 StudentFileDisplay, StudentFileUpload, Image) 26 26 from waeup.kofa.students.browser import ( 27 27 ExportPDFClearanceSlipPage, StudyCourseDisplayFormPage, -
main/kofacustom.sampleuni/trunk/versions.cfg
r11706 r12482 151 151 zc.zodbrecipes = 2.0.0 152 152 153 # Added by buildout at 2014-06-24 13:10:20.531045 154 waeup.kofa = 1.2 153 waeup.kofa = 1.3.1 154 155 # Added by buildout at 2015-01-16 07:34:12.267717 156 157 # Required by: 158 # waeup.kofa==1.3.1 159 psutil = 2.2.0
Note: See TracChangeset for help on using the changeset viewer.