Ignore:
Timestamp:
17 Nov 2016, 21:27:49 (8 years ago)
Author:
Henrik Bettermann
Message:

Denote session in button.

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

Legend:

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

    r14285 r14286  
    31913191            self.current_academic_session).title
    31923192        self.tickets = self._searchCatalog(self.current_academic_session)
    3193         self.editable_tickets = [
    3194             ticket for ticket in self.tickets if ticket.editable_by_lecturer]
    31953193        if not self.tickets:
    31963194            self.flash(_('No student found.'), type="warning")
    31973195            self.redirect(self.url(self.context))
    31983196            return
     3197        self.editable_tickets = [
     3198            ticket for ticket in self.tickets if ticket.editable_by_lecturer]
    31993199        if not 'UPDATE_TABLE' in form and not 'UPDATE_FILE' in form:
    32003200            return
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r13936 r14286  
    39493949        self.app['faculties']['fac1']['dep1'].score_editing_disabled = True
    39503950        self.browser.open(self.course_url)
    3951         self.browser.getLink("Update scores").click()
     3951        self.browser.getLink("Update session 2004/2005 scores").click()
    39523952        self.assertTrue('Score editing disabled' in self.browser.contents)
    39533953        self.app['faculties']['fac1']['dep1'].score_editing_disabled = False
    39543954        self.browser.open(self.course_url)
    3955         self.browser.getLink("Update scores").click()
     3955        self.browser.getLink("Update session 2004/2005 scores").click()
    39563956        self.assertFalse('Score editing disabled' in self.browser.contents)
    39573957
Note: See TracChangeset for help on using the changeset viewer.