Changeset 6760
- Timestamp:
- 14 Sep 2011, 02:09:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r6759 r6760 16 16 """UI components for students and related components. 17 17 """ 18 import sys19 18 import grok 20 19 21 from datetime import datetime22 from zope.formlib.widget import CustomWidgetFactory23 from zope.formlib.form import setUpEditWidgets24 from zope.securitypolicy.interfaces import IPrincipalRoleManager25 from zope.traversing.browser import absoluteURL26 from zope.component import (27 createObject,)28 29 20 from hurry.workflow.interfaces import IWorkflowInfo, IWorkflowState 30 from reportlab.pdfgen import canvas 31 from reportlab.lib.units import cm 32 from reportlab.lib.pagesizes import A4 33 from reportlab.lib.styles import getSampleStyleSheet 34 from reportlab.platypus import (Frame, Paragraph, Image, 35 Table, Spacer) 36 from reportlab.platypus.tables import TableStyle 37 21 from zope.component import createObject 38 22 from waeup.sirp.accesscodes import invalidate_accesscode, get_access_code 39 23 from waeup.sirp.accesscodes.workflow import USED … … 41 25 WAeUPPage, WAeUPEditFormPage, WAeUPAddFormPage, WAeUPDisplayFormPage) 42 26 from waeup.sirp.browser.breadcrumbs import Breadcrumb 43 from waeup.sirp.browser.layout import NullValidator 44 from waeup.sirp.browser.pages import add_local_role, del_local_roles 45 from waeup.sirp.browser.resources import datepicker, tabs, datatable 27 from waeup.sirp.browser.resources import datepicker, datatable 46 28 from waeup.sirp.browser.viewlets import ( 47 ManageActionButton, PrimaryNavTab, 48 AddActionButton, ActionButton, PlainActionButton, 49 ) 50 from waeup.sirp.image.browser.widget import ( 51 ThumbnailWidget, EncodingImageFileWidget, 52 ) 53 from waeup.sirp.image.image import createWAeUPImageFile 54 from waeup.sirp.interfaces import ( 55 IWAeUPObject, ILocalRolesAssignable, IUserAccount, 56 ) 57 from waeup.sirp.permissions import get_users_with_local_roles 58 from waeup.sirp.university.interfaces import ICertificate 29 ManageActionButton, PrimaryNavTab, AddActionButton) 30 from waeup.sirp.interfaces import IWAeUPObject, IUserAccount 59 31 from waeup.sirp.widgets.datewidget import ( 60 32 FriendlyDateWidget, FriendlyDateDisplayWidget) 61 from waeup.sirp.widgets.restwidget import ReSTDisplayWidget62 from waeup.sirp.widgets.objectwidget import (63 WAeUPObjectWidget, WAeUPObjectDisplayWidget)64 33 from waeup.sirp.students.interfaces import ( 65 34 IStudentsContainer, IStudent, IStudentClearance, IStudentPasswordSetting, 66 IStudentPersonal, IStudentBase, IStudentStudyCourse, 67 IStudentPayments, IStudentAccommodation, IStudentNavigation, 68 IStudentBaseEdit, IStudentClearanceEdit, 35 IStudentPersonal, IStudentBase, IStudentStudyCourse, IStudentPayments, 36 IStudentAccommodation, IStudentClearanceEdit, 69 37 ) 70 from waeup.sirp.students.student import Student71 38 from waeup.sirp.students.catalog import search 72 from waeup.sirp.accesscodes import invalidate_accesscode, get_access_code73 from waeup.sirp.accesscodes.workflow import USED74 39 from waeup.sirp.students.workflow import CLEARANCE 75 40
Note: See TracChangeset for help on using the changeset viewer.