Ignore:
Timestamp:
31 Jan 2019, 22:32:53 (6 years ago)
Author:
Henrik Bettermann
Message:

Show total score on course registration slips.

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

Legend:

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

    r15247 r15317  
    616616        CC = translate(_('Cat.'), target_language=portal_language)
    617617        if self.show_results:
    618             Score = translate(_('Score'), target_language=portal_language)
     618            TotalScore = translate(_('Total Score'), target_language=portal_language)
    619619            #CA = translate(_('CA'), target_language=portal_language)
    620620            Grade = translate(_('Grade'), target_language=portal_language)
     
    637637                                   (Cred, 'credits', 1.4),
    638638                                   (CC, 'course_category', 1.2),
    639                                    (Score, 'score', 1.4),
     639                                   (TotalScore, 'total_score', 1.4),
    640640                                   #(CA, 'ca', 1.4),
    641641                                   (Grade, 'grade', 1.4),
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py

    r15240 r15317  
    5555
    5656    def login_as_lecturer(self):
    57         self.app['users'].addUser('mrslecturer', 'mrslecturersecret')
     57        self.app['users'].addUser('mrslecturer', 'mrslecturerSecret1')
    5858        self.app['users']['mrslecturer'].email = 'mrslecturer@foo.ng'
    5959        self.app['users']['mrslecturer'].title = u'Mercedes Benz'
     
    7474        self.browser.getControl(name="form.login").value = 'mrslecturer'
    7575        self.browser.getControl(
    76             name="form.password").value = 'mrslecturersecret'
     76            name="form.password").value = 'mrslecturerSecret1'
    7777        self.browser.getControl("Login").click()
    7878        # Store reused urls/paths
     
    11601160
    11611161    def test_handle_courses_by_lecturer(self):
    1162         self.app['users'].addUser('mrslecturer', 'mrslecturersecret')
     1162        self.app['users'].addUser('mrslecturer', 'mrslecturerSecret1')
    11631163        self.app['users']['mrslecturer'].email = 'mrslecturer@foo.ng'
    11641164        self.app['users']['mrslecturer'].title = u'Mercedes Benz'
     
    11781178        self.browser.open(self.login_path)
    11791179        self.browser.getControl(name="form.login").value = 'mrslecturer'
    1180         self.browser.getControl(name="form.password").value = 'mrslecturersecret'
     1180        self.browser.getControl(name="form.password").value = 'mrslecturerSecret1'
    11811181        self.browser.getControl("Login").click()
    11821182        self.browser.getLink("My Courses").click()
Note: See TracChangeset for help on using the changeset viewer.