add anchor to retrieve evaluations section in accompanyingCourseWorkEdit page

This commit is contained in:
Mathieu Jaumotte 2022-01-31 12:47:31 +01:00
parent c806c06279
commit 6198891202
2 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,8 @@ export default {
},
methods: {
getUrl(e) {
return `/fr/person/accompanying-period/work/${e.id}/edit`
let anchor = '#evaluations';
return `/fr/person/accompanying-period/work/${e.id}/edit${anchor}`
}
},
}

View File

@ -1,5 +1,6 @@
<template>
<div>
<a id="evaluations"></a>
<div class="item-title" :title="evaluation.id || 'no id yet'">
<span>{{ evaluation.evaluation.title.fr }}</span>
</div>