Commit 0f2c6b65 authored by Tim Honcoop's avatar Tim Honcoop
Browse files

Fixed merge issues

parent 91771aa5
Pipeline #2501 passed with stages
in 2 minutes and 55 seconds
...@@ -41,7 +41,10 @@ ...@@ -41,7 +41,10 @@
<span class="li-title">Type:</span> <span class="li-title">Type:</span>
{{ quiz.type }} {{ quiz.type }}
</li> </li>
<li> <li v-if="quiz.graded == false">
<span class="li-title">Passing rate:</span> not graded
</li>
<li v-else>
<span class="li-title">Passing rate:</span> <span class="li-title">Passing rate:</span>
{{ quiz.passing_fraction * 100 }}% {{ quiz.passing_fraction * 100 }}%
</li> </li>
...@@ -91,6 +94,10 @@ ...@@ -91,6 +94,10 @@
<span class="li-title">Passing rate:</span> <span class="li-title">Passing rate:</span>
{{ quiz.passing_fraction * 100 }}% {{ quiz.passing_fraction * 100 }}%
</li> </li>
<li>
<span class="li-title">Average attempts:</span>
{{ Math.round(quiz.average_attempts*100)/100 }}
</li>
</ul> </ul>
</b-card-body> </b-card-body>
</b-card> </b-card>
...@@ -176,8 +183,8 @@ export default { ...@@ -176,8 +183,8 @@ export default {
} else { } else {
this.loadingText = strings.error_course_id; this.loadingText = strings.error_course_id;
} }
}, }
}, }
}; };
</script> </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