Fixed feedback display
This commit is contained in:
parent
6b9826934f
commit
ba9d58c01d
2
amd/build/report-viewer-components.min.js
vendored
2
amd/build/report-viewer-components.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1820,17 +1820,19 @@ export default {
|
|||
<td v-if="g.feedback">
|
||||
<a v-b-modal="'r-grade-feedback-'+g.id"
|
||||
href="#"
|
||||
@click.prevent.stop=""
|
||||
>{{ text["view_feedback"]}}</a>
|
||||
<b-modal
|
||||
:id="'r-grade-feedback-'+g.id"
|
||||
size="sm"
|
||||
ok-only
|
||||
centered
|
||||
scrollable
|
||||
>
|
||||
<template #modal-header>
|
||||
<h2><i class="fa fa-graduation-cap"></i>{{ value.course.fullname }}</h2><br>
|
||||
<span class="r-activity-icon" :title="g.typename" v-html="g.icon"></span>{{g.name}}
|
||||
<div>
|
||||
<h3><i class="fa fa-graduation-cap"></i>{{ value.course.fullname }}</h3><br>
|
||||
<span class="r-activity-icon" :title="g.typename" v-html="g.icon + g.name"></span>
|
||||
</div>
|
||||
</template>
|
||||
<span v-html="g.feedback"></span>
|
||||
</b-modal>
|
||||
|
@ -1968,17 +1970,19 @@ export default {
|
|||
<td v-if="ci.feedback">
|
||||
<a v-b-modal="'r-grade-feedback-'+ci.id"
|
||||
href="#"
|
||||
@click.prevent.stop=""
|
||||
>{{ text["view_feedback"]}}</a>
|
||||
<b-modal
|
||||
:id="'r-grade-feedback-'+ci.id"
|
||||
size="sm"
|
||||
ok-only
|
||||
centered
|
||||
scrollable
|
||||
>
|
||||
<template #modal-header>
|
||||
<h2><i class="fa fa-graduation-cap"></i>{{ course.fullname }}</h2><br>
|
||||
<span class="r-activity-icon" :title="ci.typename" v-html="ci.icon"></span>{{ci.name}}
|
||||
<div>
|
||||
<h3><i class="fa fa-graduation-cap"></i>{{ course.fullname }}</h3>
|
||||
<span class="r-activity-icon" :title="ci.typename" v-html="ci.icon + ci.name"></span>
|
||||
</div>
|
||||
</template>
|
||||
<span v-html="ci.feedback"></span>
|
||||
</b-modal>
|
||||
|
@ -2135,13 +2139,14 @@ export default {
|
|||
>{{ text["view_feedback"]}}</a>
|
||||
<b-modal
|
||||
:id="'r-competency-feedback-'+c.id"
|
||||
size="sm"
|
||||
ok-only
|
||||
centered
|
||||
scrollable
|
||||
>
|
||||
<template #modal-header>
|
||||
<h2><i class="fa fa-puzzle-piece"></i>{{ c.title }}</h2><br>
|
||||
<div>
|
||||
<h3><i class="fa fa-puzzle-piece"></i>{{ c.title }}</h3>
|
||||
</div>
|
||||
</template>
|
||||
<span v-html="c.feedback"></span>
|
||||
</b-modal>
|
||||
|
@ -2190,16 +2195,18 @@ export default {
|
|||
<td v-if="cc.feedback">
|
||||
<a v-b-modal="'r-competency-feedback-'+cc.id"
|
||||
href="#"
|
||||
@click.prevent.stop=""
|
||||
>{{ text["view_feedback"]}}</a>
|
||||
<b-modal
|
||||
:id="'r-competency-feedback-'+cc.id"
|
||||
size="sm"
|
||||
ok-only
|
||||
centered
|
||||
scrollable
|
||||
>
|
||||
<template #modal-header>
|
||||
<h2><i class="fa fa-puzzle-piece"></i>{{ cc.title }}</h2><br>
|
||||
<div>
|
||||
<h3><i class="fa fa-puzzle-piece"></i>{{ cc.title }}</h3><br>
|
||||
</div>
|
||||
</template>
|
||||
<span v-html="cc.feedback"></span>
|
||||
</b-modal>
|
||||
|
@ -2916,16 +2923,18 @@ export default {
|
|||
<td v-if="c.feedback">
|
||||
<a v-b-modal="'r-competency-feedback-'+c.id"
|
||||
href="#"
|
||||
@click.prevent.stop=""
|
||||
>{{ text["view_feedback"]}}</a>
|
||||
<b-modal
|
||||
:id="'r-competency-feedback-'+c.id"
|
||||
size="sm"
|
||||
ok-only
|
||||
centered
|
||||
scrollable
|
||||
>
|
||||
<template #modal-header>
|
||||
<h2><i class="fa fa-puzzle-piece"></i>{{ c.title }}</h2><br>
|
||||
<div>
|
||||
<h3><i class="fa fa-puzzle-piece"></i>{{ c.title }}</h3><br>
|
||||
</div>
|
||||
</template>
|
||||
<span v-html="c.feedback"></span>
|
||||
</b-modal>
|
||||
|
@ -2970,16 +2979,18 @@ export default {
|
|||
<td v-if="cc.feedback">
|
||||
<a v-b-modal="'r-competency-feedback-'+cc.id"
|
||||
href="#"
|
||||
@click.prevent.stop=""
|
||||
>{{ text["view_feedback"]}}</a>
|
||||
<b-modal
|
||||
:id="'r-competency-feedback-'+cc.id"
|
||||
size="sm"
|
||||
ok-only
|
||||
centered
|
||||
scrollable
|
||||
>
|
||||
<template #modal-header>
|
||||
<h2><i class="fa fa-puzzle-piece"></i>{{ cc.title }}</h2><br>
|
||||
<div>
|
||||
<h3><i class="fa fa-puzzle-piece"></i>{{ cc.title }}</h3><br>
|
||||
</div>
|
||||
</template>
|
||||
<span v-html="cc.feedback"></span>
|
||||
</b-modal>
|
||||
|
|
Loading…
Reference in New Issue
Block a user