Commit 91771aa5 authored by Daniel Lawlor García's avatar Daniel Lawlor García Committed by Tim Honcoop
Browse files

number of attempts in quiz list

parent 3840ba4b
......@@ -41,13 +41,14 @@
<span class="li-title">Type:</span>
{{ quiz.type }}
</li>
<li v-if="quiz.graded == false">
<span class="li-title">Passing rate:</span> not graded
</li>
<li v-else>
<li>
<span class="li-title">Passing rate:</span>
{{ quiz.passing_fraction * 100 }}%
</li>
<li>
<span class="li-title">Average attempts:</span>
{{ Math.round(quiz.average_attempts*100)/100 }}
</li>
</ul>
</b-card-body>
</b-card>
......@@ -175,8 +176,8 @@ export default {
} else {
this.loadingText = strings.error_course_id;
}
}
}
},
},
};
</script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment