Ignore:
Timestamp:
1 Dec 2016, 07:58:10 (8 years ago)
Author:
Henrik Bettermann
Message:

Hide the score and CA or let them be fetching empty fields.

File:
1 edited

Legend:

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

    r14298 r14302  
    286286        isStudent = getattr(
    287287            self.request.principal, 'user_type', None) == 'student'
    288         if isStudent and self.context.student.state != RETURNING \
    289             and self.context.student.current_level == self.context.level:
     288        # Temporarily disabled on 1/12/2016
     289        if isStudent:
    290290            return False
     291        #if isStudent and self.context.student.state != RETURNING \
     292        #    and self.context.student.current_level == self.context.level:
     293        #    return False
    291294        return True
    292295
     
    319322        isStudent = getattr(
    320323            self.request.principal, 'user_type', None) == 'student'
    321         return not isStudent \
    322             or self.context.student.current_level != self.context.level \
    323             or self.context.student.state == RETURNING
     324        # Temporarily disabled on 1/12/2016
     325        if isStudent:
     326            return False
     327        #if isStudent and self.context.student.state != RETURNING \
     328        #    and self.context.student.current_level == self.context.level:
     329        #    return False
     330        return True
    324331
    325332    def update(self):
Note: See TracChangeset for help on using the changeset viewer.