Index: /main/kofacustom.unidel/trunk/src/kofacustom/unidel/interfaces.py
===================================================================
--- /main/kofacustom.unidel/trunk/src/kofacustom/unidel/interfaces.py	(revision 18324)
+++ /main/kofacustom.unidel/trunk/src/kofacustom/unidel/interfaces.py	(revision 18325)
@@ -207,4 +207,13 @@
         )
 
+    show_results = schema.List(
+        title = _(u'Show course results'),
+        value_type = schema.Choice(
+            source = EnableScoreEditingGroupSource(),
+            ),
+        required = False,
+        defaultFactory=list,
+        )
+
     def getSessionString():
         """Returns the session string from the vocabulary.
Index: /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser.py
===================================================================
--- /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser.py	(revision 18324)
+++ /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser.py	(revision 18325)
@@ -314,4 +314,20 @@
         'validation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
 
+    @property
+    def show_results(self):
+        isStudent = getattr(
+            self.request.principal, 'user_type', None) == 'student'
+        try:
+            show_results = grok.getSite()[
+                'configuration'][str(self.context.level_session)].show_results
+        except KeyError:
+            return False
+        if isStudent and self.context.student.current_mode not in show_results:
+            return False
+        #if isStudent and self.context.student.state != RETURNING \
+        #    and self.context.student.current_level == self.context.level:
+        #    return False
+        return True
+
 class CustomStudyLevelManageFormPage(StudyLevelManageFormPage):
     """ Page to edit the student study level data
@@ -338,4 +354,20 @@
         'adm_code', 'sex', 'suspended_comment', 'current_level',
         'flash_notice', 'imported_gpa', 'imported_cgpa',)
+
+    @property
+    def show_results(self):
+        isStudent = getattr(
+            self.request.principal, 'user_type', None) == 'student'
+        try:
+            show_results = grok.getSite()[
+                'configuration'][str(self.context.level_session)].show_results
+        except KeyError:
+            return False
+        if isStudent and self.context.student.current_mode not in show_results:
+            return False
+        if isStudent and self.context.student.state != RETURNING \
+            and self.context.student.current_level == self.context.level:
+            return False
+        return True
 
     def _signatures(self):
@@ -375,13 +407,21 @@
                  if value.semester == i and not value.outstanding],
                  key=lambda value: str(value.semester) + value.code))
-            tableheader.append([(Code,'code', 2.0),
-                               (Title,'title', 7),
-                               (Cred, 'credits', 1.4),
-                               #(CC, 'course_category', 1.2),
-                               (TotalScore, 'total_score', 1.4),
-                               #(CA, 'ca', 1.4),
-                               (Grade, 'grade', 1.4),
-                               (Signature, 'dummy', 3),
-                               ])
+            if self.show_results:
+                tableheader.append([(Code,'code', 2.0),
+                                   (Title,'title', 7),
+                                   (Cred, 'credits', 1.4),
+                                   (CC, 'course_category', 1.2),
+                                   (TotalScore, 'total_score', 1.4),
+                                   #(CA, 'ca', 1.4),
+                                   (Grade, 'grade', 1.4),
+                                   (Signature, 'dummy', 3),
+                                   ])
+            else:
+                tableheader.append([(Code,'code', 2.0),
+                                   (Title,'title', 7),
+                                   (Cred, 'credits', 1.5),
+                                   (CC, 'course_category', 1.2),
+                                   (Signature, 'dummy', 3),
+                                   ])
         return students_utils.renderPDF(
             self, 'course_registration_slip.pdf',
@@ -399,7 +439,19 @@
 
     @property
+    def show_results(self):
+        isStudent = getattr(
+            self.request.principal, 'user_type', None) == 'student'
+        if isStudent:
+            return False
+        return True
+
+    @property
     def form_fields(self):
-        return grok.AutoFields(ICustomCourseTicket).omit('course_category',
+        if self.show_results:
+            return grok.AutoFields(ICustomCourseTicket).omit('course_category',
             'ticket_session')
+        else:
+            return grok.AutoFields(ICustomCourseTicket).omit('score', 'ca',
+                'course_category', 'ticket_session')
 
 class CustomCourseTicketManageFormPage(CourseTicketManageFormPage):
Index: /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser_templates/courseticketpage.pt
===================================================================
--- /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser_templates/courseticketpage.pt	(revision 18325)
+++ /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser_templates/courseticketpage.pt	(revision 18325)
@@ -0,0 +1,21 @@
+<table class="form-table" i18n:domain="waeup.kofa">
+  <tbody>
+    <tal:widgets content="structure provider:widgets" />
+    <tr tal:condition="view/show_results">
+      <td class="fieldname">
+        <span i18n:translate="">Grade</span>:
+      </td>
+      <td>
+        <span tal:replace="context/grade">C</span>
+      </td>
+    </tr>
+    <tr tal:condition="view/show_results">
+      <td class="fieldname">
+        <span i18n:translate="">Weight</span>:
+      </td>
+      <td>
+        <span tal:replace="context/weight">1</span>
+      </td>
+    </tr>
+  </tbody>
+</table>
Index: /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser_templates/studylevelpage.pt
===================================================================
--- /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser_templates/studylevelpage.pt	(revision 18324)
+++ /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser_templates/studylevelpage.pt	(revision 18325)
@@ -28,6 +28,6 @@
       <th i18n:translate="">Cred.</th>
       <th i18n:translate="">Requ.</th>
-      <th i18n:translate="">Score</th>
-      <th i18n:translate="">Grade</th>
+      <th i18n:translate="" tal:condition="view/show_results" >Total Score</th>
+      <th i18n:translate="" tal:condition="view/show_results" >Grade</th>
       <th i18n:translate="">CO</th>
       <th i18n:translate="">OS</th>
@@ -46,6 +46,6 @@
       <td tal:content="value/credits">CREDITS</td>
       <td tal:content="value/mandatory">MANDATORY</td>
-      <td tal:content="value/total_score|nothing">SCORE</td>
-      <td tal:content="value/grade|nothing">GRADE</td>
+      <td tal:condition="view/show_results" tal:content="structure value/formatted_total_score|nothing">TOTALSCORE</td>
+      <td tal:condition="view/show_results" tal:content="value/grade|nothing">GRADE</td>
       <td tal:content="value/carry_over">CO</td>
       <td tal:content="value/outstanding">OS</td>
Index: /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/tests/test_browser.py
===================================================================
--- /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/tests/test_browser.py	(revision 18324)
+++ /main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/tests/test_browser.py	(revision 18325)
@@ -306,2 +306,40 @@
         open(path, 'wb').write(self.browser.contents)
         print "Sample PDF attendance.pdf written to %s" % path
+
+
+class StudentUITests(StudentsFullSetup):
+    """Tests for customized student class views and pages
+    """
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(StudentUITests, self).setUp()
+        self.app['faculties']['fac1']['dep1'].certificates[
+            'CERT1']['COURSE1_100'].course_category = 'C'
+        bedticket = BedTicket()
+        bedticket.booking_session = 2004
+        bedticket.bed_type = u'any bed type'
+        bedticket.bed = self.app['hostels']['hall-1']['hall-1_A_101_A']
+        bedticket.bed_coordinates = u'My bed coordinates'
+        self.student['accommodation'].addBedTicket(bedticket)
+
+    def test_student_access_course_results(self):
+        IWorkflowState(self.student).setState('school fee paid')
+        self.student['studycourse'].entry_session = 2004
+        self.student['studycourse'].current_session = 2004
+        self.browser.open(self.login_path)
+        self.browser.getControl(name="form.login").value = self.student_id
+        self.browser.getControl(name="form.password").value = 'spwd'
+        self.browser.getControl("Login").click()
+        self.browser.getLink("Study Course").click()
+        self.browser.getLink("Add course list").click()
+        self.browser.getControl("Create course list now").click()
+        self.assertFalse('Score' in self.browser.contents)
+        IWorkflowState(self.student).setState('returning')
+        self.browser.open(self.studycourse_path + '/100')
+        self.assertFalse('Score' in self.browser.contents)
+        self.app['configuration']['2004'].show_results = ['ug_ft']
+        self.browser.open(self.studycourse_path + '/100')
+        self.assertTrue('Score' in self.browser.contents)
+        return
