@@ -52,62 +52,65 @@
:to="titleLink"
class="text-xl font-semibold"
>
- {{ course.title }}
+ {{ localCourse.title }}
- {{ course.title }}
+ {{ localCourse.title }}
{{ $t("Duration") }}: {{ durationInHours }}
{{ $t("Dependencies") }}:
- {{ course.dependencies.map((dep) => dep.title).join(", ") }}
+ {{ localCourse.dependencies.map((dep) => dep.title).join(", ") }}
{{ $t("Price") }}:
- {{ course.price > 0 ? "S/. " + course.price.toFixed(2) : $t("Free") }}
+ {{ localCourse.price > 0 ? "S/. " + localCourse.price.toFixed(2) : $t("Free") }}
{{ $t("Teachers") }}:
- {{ course.teachers.map((t) => t.user.fullName).join(", ") }}
+ {{ localCourse.teachers.map((t) => t.user.fullName).join(", ") }}
+
+
+
-
- {{ course.popularity || 0 }} Votes
+ {{ localCourse.popularity || 0 }} Votes
|
- {{ course.nbVisits || 0 }} Visites
-
- |
- {{ $t("Your vote") }} [{{ course.userVote.vote }}]
-
+ {{ localCourse.nbVisits || 0 }} Visites
+
+ |
+ {{ $t("Your vote") }} [{{ localVote }}]
+
{{ field.display_text }}:
- {{ course.extra_fields?.[field.variable] ?? "-" }}
+ {{ localCourse.extra_fields?.[field.variable] ?? "-" }}