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