Ignore:
Timestamp:
1 May 2011, 12:00:22 (13 years ago)
Author:
Henrik Bettermann
Message:

Implement department manage page by using jQueryUI tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py

    r6000 r6002  
    326326
    327327class ManageDepartmentActionButton(ManageActionButton):
    328     """ 'Edit settings' button for departments.
     328    """ 'Manage settings' button for departments.
    329329    """
    330330    grok.context(IDepartment)
    331331    grok.view(DepartmentPage)
    332     text = 'Edit department'
     332    text = 'Manage department'
    333333
    334334class ManageCourseActionButton(ManageActionButton):
     
    340340   
    341341class ManageCertificateActionButton(ManageActionButton):
    342     """ 'Edit settings' button for certificates.
     342    """ 'Manage settings' button for certificates.
    343343    """
    344344    grok.context(ICertificate)
    345345    grok.view(CertificatePage)
    346     text = 'Edit certificate'
     346    text = 'Manage certificate'
    347347
    348348class ManageCertificateCourseActionButton(ManageActionButton):
    349     """ 'Edit settings' button for certificate courses.
     349    """ 'Manage settings' button for certificate courses.
    350350    """
    351351    grok.context(ICertificateCourse)
     
    373373#    text = 'Add department'
    374374
    375 class AddCertificateActionButton(AddActionButton):
    376     grok.context(IDepartment)
    377     grok.view(DepartmentPage)
    378     grok.order(3)
    379     text = 'Add certificate'
    380     target = 'addcertificate'
    381    
    382 class AddCourseActionButton(AddActionButton):
    383     grok.context(IDepartment)
    384     grok.view(DepartmentPage)
    385     grok.order(4)
    386     text = 'Add course'
    387     target = 'addcourse'
    388 
    389 class AddCertificateCourseActionButton(AddActionButton):
    390     grok.context(ICertificate)
    391     grok.view(CertificatePage)
    392     grok.order(4)
    393     text = 'Add course referrer'
    394     target = 'addcertificatecourse'
     375#class AddCertificateActionButton(AddActionButton):
     376#    grok.context(IDepartment)
     377#    grok.view(DepartmentPage)
     378#    grok.order(3)
     379#    text = 'Add certificate'
     380#    target = 'addcertificate'
     381   
     382#class AddCourseActionButton(AddActionButton):
     383#    grok.context(IDepartment)
     384#    grok.view(DepartmentPage)
     385#    grok.order(4)
     386#    text = 'Add course'
     387#    target = 'addcourse'
     388
     389#class AddCertificateCourseActionButton(AddActionButton):
     390#    grok.context(ICertificate)
     391#    grok.view(CertificatePage)
     392#    grok.order(4)
     393#    text = 'Add course referrer'
     394#    target = 'addcertificatecourse'
    395395
    396396#
Note: See TracChangeset for help on using the changeset viewer.