Ignore:
Timestamp:
22 Nov 2011, 17:39:35 (13 years ago)
Author:
Henrik Bettermann
Message:

Rename UserContainer? to UsersContainer? to be in line with ApplicantsContainer?, StudentsContainer?, HostelsCointainer?, PaymentsContainer?. In other words, a userscontainer contains users and it's not the container of a user. This is not really necessary in terms of English grammar but it helps to confuse container types.

File:
1 edited

Legend:

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

    r7167 r7172  
    1010from waeup.sirp.browser.pages import (
    1111    UniversityPage, FacultyContainerPage, DatacenterPage, FacultyPage,
    12     DepartmentPage, CoursePage, CertificatePage, CertificateCoursePage, UserContainerPage)
     12    DepartmentPage, CoursePage, CertificatePage, CertificateCoursePage, UsersContainerPage)
    1313from waeup.sirp.browser.interfaces import (
    1414    IFacultyContainer, IFaculty, IDepartment, ICourse, ICertificate,
    15     ICertificateCourse, IBreadcrumbContainer, IUniversity, IUserContainer)
     15    ICertificateCourse, IBreadcrumbContainer, IUniversity, IUsersContainer)
    1616from waeup.sirp.interfaces import (IWAeUPObject, IWAeUPXMLExporter,
    1717                                   IWAeUPXMLImporter, IDataCenter)
     
    422422class AddUserActionButton(AddActionButton):
    423423    grok.require('waeup.manageUsers')
    424     grok.context(IUserContainer)
    425     grok.view(UserContainerPage)
     424    grok.context(IUsersContainer)
     425    grok.view(UsersContainerPage)
    426426    text = 'Add user'
    427427
Note: See TracChangeset for help on using the changeset viewer.