Show mode instead of coefficient on course page
authorBenjamin Auder <benjamin.auder@somewhere>
Sun, 28 Jan 2018 21:35:12 +0000 (22:35 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Sun, 28 Jan 2018 21:35:12 +0000 (22:35 +0100)
views/course.pug

index 16552ce..17bad0d 100644 (file)
@@ -124,13 +124,13 @@ block content
                                                thead
                                                        tr
                                                                th Name
-                                                               th Coefficient
+                                                               th Mode
                                                                th #Questions
                                                                th Time
                                                tbody
                                                        tr.assessment(v-for="(assessment,i) in assessmentArray" @click.left="actionAssessment(i)" @contextmenu.prevent="deleteAssessment(assessment)")
                                                                td {{ assessment.name }}
-                                                               td {{ assessment.coefficient }}
+                                                               td {{ assessment.mode }}
                                                                td {{ assessment.questions.reduce( (a,b) => { return b.active ? a+1 : a; }, 0) }}
                                                                td {{ assessment.time }}
                                if teacher