Remove "wegleitung" when there are no points
This commit is contained in:
parent
f78cdea3f2
commit
f5733368d0
|
|
@ -74,34 +74,35 @@ 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
|
||||||
|
class="py-4"
|
||||||
|
:class="{ 'heading-1': props.detailView, 'heading-2': !props.detailView }"
|
||||||
|
:data-cy="`certificate-${competenceCertificate.slug}-grade`"
|
||||||
|
>
|
||||||
|
{{ $t("a.Note") }}: {{ userGrade }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
class="py-4"
|
class="text-gray-900"
|
||||||
:class="{ 'heading-1': props.detailView, 'heading-2': !props.detailView }"
|
:data-cy="`certificate-${competenceCertificate.slug}-grade-percent`"
|
||||||
:data-cy="`certificate-${competenceCertificate.slug}-grade`"
|
|
||||||
>
|
>
|
||||||
{{ $t("a.Note") }}: {{ userGrade }}
|
{{ $t("a.Ungerundete Note") }}: {{ userGradeRounded2Places }}.
|
||||||
|
<a
|
||||||
|
:href="$t('a.wegleitungUkUrl')"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="underline"
|
||||||
|
>
|
||||||
|
{{ $t("a.Wegleitung üK") }}
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section v-else class="py-2">
|
<section v-else class="py-2">
|
||||||
{{ $t("a.competenceCertificateNoUserPoints") }}
|
{{ $t("a.competenceCertificateNoUserPoints") }}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div
|
|
||||||
class="text-gray-900"
|
|
||||||
:data-cy="`certificate-${competenceCertificate.slug}-grade-percent`"
|
|
||||||
>
|
|
||||||
{{ $t("a.Ungerundete Note") }}: {{ userGradeRounded2Places }}.
|
|
||||||
<a
|
|
||||||
:href="$t('a.wegleitungUkUrl')"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
class="underline"
|
|
||||||
>
|
|
||||||
{{ $t("a.Wegleitung üK") }}
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ItProgress :status-count="progressStatusCount" />
|
<ItProgress :status-count="progressStatusCount" />
|
||||||
<div>
|
<div>
|
||||||
{{
|
{{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue