diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/_js/i18n.js b/src/Bundle/ChillMainBundle/Resources/public/vuejs/_js/i18n.js index 4f5c64e30..e36cbda79 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/_js/i18n.js +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/_js/i18n.js @@ -7,6 +7,11 @@ const datetimeFormats = { month: "numeric", day: "numeric" }, + text: { + year: "numeric", + month: "long", + day: "numeric", + }, long: { year: "numeric", month: "short", diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/AccompanyingCourse.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/AccompanyingCourse.vue index 3573ce6e2..80e75414b 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/AccompanyingCourse.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/AccompanyingCourse.vue @@ -3,11 +3,8 @@

{{ $t('course.title') }}

{{ $t('course.id') }}
-
{{ accompanyingCourse.id }}
+
{{ accompanyingCourse.id }}
-
{{ $t('course.user') }}
-
{{ accompanyingCourse.user.username }}
-
{{ $t('course.status') }}
-
{{ $t('course.flags') }}
-
- - - - - - - -
- -
{{ $t('course.opening_date') }}
-
{{ $d(accompanyingCourse.openingDate.datetime, 'short') }}
-
{{ $t('course.closing_date') }}
-
{{ $d(accompanyingCourse.closingDate.datetime, 'short') }}
+
{{ $d(accompanyingCourse.closingDate.datetime, 'short') }}
{{ $t('course.closing_motive') }}
-
{{ accompanyingCourse.closingMotive.name.fr }}
- -
{{ $t('course.remark') }}
-
{{ accompanyingCourse.remark }}
- +
{{ accompanyingCourse.closingMotive.name.fr }}
+ + + + + + + +

+ + {{ $t('course.open_at') }}{{ $d(accompanyingCourse.openingDate.datetime, 'text') }} +
+ + {{ $t('course.by') }}{{ accompanyingCourse.user.username }} + +

+
+ diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/ToggleFlags.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/ToggleFlags.vue index 169233641..12c372f12 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/ToggleFlags.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/ToggleFlags.vue @@ -1,17 +1,17 @@