Ignore:
Timestamp:
29 Aug 2011, 06:15:41 (13 years ago)
Author:
Henrik Bettermann
Message:

Show correct title on StudentsContainerManagePage?.

Fix tests (h2 tags removed).

Location:
main/waeup.sirp/trunk/src/waeup/sirp/students
Files:
2 edited

Legend:

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

    r6644 r6647  
    154154    grok.view(StudentsContainerPage)
    155155    grok.require('waeup.manageStudents')
    156     text = 'Manage students'
     156    text = 'Manage student section'
    157157
    158158
     
    165165    grok.template('studentscontainermanagepage')
    166166    pnav = 4
    167 
    168     @property
    169     def title(self):
    170         return "Students"
     167    title = 'Manage student section'
    171168
    172169    @property
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py

    r6641 r6647  
    134134        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    135135        self.assertEqual(self.browser.url, self.container_path)
    136         self.browser.getLink("Manage students").click()
     136        self.browser.getLink("Manage student section").click()
    137137        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    138138        self.assertEqual(self.browser.url, self.manage_container_path)
Note: See TracChangeset for help on using the changeset viewer.