Add icons to document action buttons and update bindings for accompanying period work IDs

This commit is contained in:
2025-09-02 16:37:19 +02:00
parent 29e054bd10
commit 0541995a60

View File

@@ -169,6 +169,7 @@
$emit('removeDocument', d) $emit('removeDocument', d)
" "
> >
<i class="fa fa-trash-o" aria-hidden="true"></i>
{{ {{
trans( trans(
EVALUATION_DOCUMENT_DELETE, EVALUATION_DOCUMENT_DELETE,
@@ -207,11 +208,14 @@
d, d,
) )
" "
>{{ >
<i class="fa fa-copy" aria-hidden="true"></i>
{{
trans( trans(
EVALUATION_DOCUMENT_DUPLICATE_HERE, EVALUATION_DOCUMENT_DUPLICATE_HERE,
) )
}}</a }}
</a
> >
</li> </li>
<li> <li>
@@ -222,7 +226,9 @@
d, d,
) )
" "
>{{ >
<i class="fa fa-copy" aria-hidden="true"></i>
{{
trans( trans(
EVALUATION_DOCUMENT_DUPLICATE_TO_OTHER_EVALUATION, EVALUATION_DOCUMENT_DUPLICATE_TO_OTHER_EVALUATION,
) )
@@ -241,7 +247,9 @@
@click=" @click="
prepareDocumentMoveToWork(d) prepareDocumentMoveToWork(d)
" "
>{{ >
<i class="fa fa-arrows" aria-hidden="true"></i>
{{
trans( trans(
EVALUATION_DOCUMENT_MOVE, EVALUATION_DOCUMENT_MOVE,
) )
@@ -263,7 +271,7 @@
v-model:selectedAcpw="selectedAcpw" v-model:selectedAcpw="selectedAcpw"
:accompanying-period-id="accompanyingPeriodId" :accompanying-period-id="accompanyingPeriodId"
:is-evaluation-selector="true" :is-evaluation-selector="true"
:ignore-accompanying-period-work-ids="[accompanyingPeriodWorkId]" :ignore-accompanying-period-work-ids="[]"
@close-modal="showAccompanyingPeriodSelector = false" @close-modal="showAccompanyingPeriodSelector = false"
@update:selectedEvaluation="selectedEvaluation = $event" @update:selectedEvaluation="selectedEvaluation = $event"
/> />