Remove "wegleitung" when there are no points
This commit is contained in:
parent
f78cdea3f2
commit
f5733368d0
|
|
@ -74,7 +74,8 @@ const frontendUrl = computed(() => {
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<section v-if="userPointsEvaluatedAssignments > 0" class="flex items-center">
|
<section v-if="userPointsEvaluatedAssignments > 0">
|
||||||
|
<div class="flex items-center">
|
||||||
<div
|
<div
|
||||||
class="py-4"
|
class="py-4"
|
||||||
:class="{ 'heading-1': props.detailView, 'heading-2': !props.detailView }"
|
:class="{ 'heading-1': props.detailView, 'heading-2': !props.detailView }"
|
||||||
|
|
@ -82,11 +83,7 @@ const frontendUrl = computed(() => {
|
||||||
>
|
>
|
||||||
{{ $t("a.Note") }}: {{ userGrade }}
|
{{ $t("a.Note") }}: {{ userGrade }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
<section v-else class="py-2">
|
|
||||||
{{ $t("a.competenceCertificateNoUserPoints") }}
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="text-gray-900"
|
class="text-gray-900"
|
||||||
:data-cy="`certificate-${competenceCertificate.slug}-grade-percent`"
|
:data-cy="`certificate-${competenceCertificate.slug}-grade-percent`"
|
||||||
|
|
@ -101,6 +98,10 @@ const frontendUrl = computed(() => {
|
||||||
{{ $t("a.Wegleitung üK") }}
|
{{ $t("a.Wegleitung üK") }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
|
<section v-else class="py-2">
|
||||||
|
{{ $t("a.competenceCertificateNoUserPoints") }}
|
||||||
|
</section>
|
||||||
|
|
||||||
<ItProgress :status-count="progressStatusCount" />
|
<ItProgress :status-count="progressStatusCount" />
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue