Fix students seeing the result overview links

This commit is contained in:
PMKuipers 2024-03-01 16:06:07 +01:00
parent 1fe4db6328
commit 7ea7576ac8

View File

@ -630,7 +630,7 @@ export default {
<!-- First paint the headings-->
<div class='r-studyplan-headings'
><s-studyline-header-heading :identifier="Number(page.id)"
><a v-if="selectedpage" class="ml-2"
><a v-if="teachermode && selectedpage" class="ml-2"
:href="wwwroot+'//local/treestudyplan/result-overview.php?page='+selectedpage.id"
target='_blank'><i class='fa fa-list-ul'></i>&nbsp;{{text.overview}}</a
@ -653,7 +653,7 @@ export default {
v-if="index > 0"
v-model="page.perioddesc[index-1]"
:identifier="Number(page.id)"
><a v-if="selectedpage"
><a v-if="teachermode && selectedpage"
v-b-tooltip.hover
:href="wwwroot+'//local/treestudyplan/result-overview.php?page='+selectedpage.id
+'&firstperiod='+index+'&lastperiod='+index"