Ignore:
Timestamp:
16 Apr 2021, 15:12:37 (4 years ago)
Author:
Henrik Bettermann
Message:

Enable managers to edit/remove all flash notices of students in a department.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/university/interfaces.py

    r15629 r16465  
    7676    def addFaculty(faculty):
    7777        """Add an IFactulty object.
    78 
    7978        """
     79
     80
    8081class IDepartment(IKofaObject):
    8182    """Representation of a department.
     
    137138
    138139
     140class IFlashNotice(IKofaObject):
     141    """An interface for the flash notice edit form page.
     142    """
     143
     144    flash_notice = schema.TextLine(
     145        title = _(u'Flash Notice'),
     146        description = _(
     147            u'If you save an empty field, all flash notices will be removed.'),
     148        required = False,
     149        readonly = False,
     150        )
     151
     152
    139153class ICoursesContainer(IKofaContainer):
    140154    """A container for faculties.
     
    145159        Returns the key, under which the object was stored.
    146160        """
     161
    147162
    148163class ICourse(IKofaObject):
     
    216231        default = False,
    217232        )
     233
    218234
    219235class ICertificate(IKofaObject):
     
    341357        """
    342358
     359
    343360class ICertificateCourse(IKofaObject):
    344361    """A certificatecourse is referring a course and provides some own
Note: See TracChangeset for help on using the changeset viewer.