Changeset 9835 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 6 Jan 2013, 21:43:17 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9833 r9835 2653 2653 2654 2654 class ExportJobContainerOverview(KofaPage): 2655 """Page that filters and lists students. 2655 """Page that lists active student data export jobs and provides links 2656 to discard or download CSV files. 2657 2656 2658 """ 2657 2659 grok.context(VirtualExportJobContainer) … … 2684 2686 label = _('Configure student data export') 2685 2687 pnav = 1 2688 redirect_target = '' 2686 2689 2687 2690 def _set_session_values(self): … … 2740 2743 ' current_session=%s, current_level=%s, study_mode=%s' % ( 2741 2744 session, level, mode)) 2745 self.redirect(self.url(self.redirect_target)) 2742 2746 return 2743 2747 2744 2748 class ExportJobContainerDownload(ExportCSVView): 2745 """Page that configures a students export job. 2749 """Page that downloads a students export csv file. 2750 2746 2751 """ 2747 2752 grok.context(VirtualExportJobContainer) … … 2753 2758 """ 2754 2759 grok.context(IDataCenter) 2755 2760 redirect_target = '@@export' 2756 2761 2757 2762 class DepartmentExportJobContainerJobConfig(ExportJobContainerJobConfig): -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/exportjobsjobconfig.pt
r9819 r9835 50 50 <div class="input"> 51 51 <input type="submit" name="START" i18n:translate="" 52 value="Create export now"52 value="Create CSV file" 53 53 class="btn primary" /> 54 54 </div> -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9830 r9835 2752 2752 self.browser.getControl(name="level").value = ['100'] 2753 2753 self.browser.getControl(name="mode").value = ['ug_ft'] 2754 self.browser.getControl("Create export now").click()2754 self.browser.getControl("Create CSV file").click() 2755 2755 2756 2756 # When the job is finished and we reload the page...
Note: See TracChangeset for help on using the changeset viewer.