diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js index c9121c5fd..279bfc2a4 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js @@ -191,8 +191,9 @@ let initPromise = getAccompanyingCourse(id) //console.log('## action: confirmAccompanyingCourse'); confirmAccompanyingCourse(id) .then(response => new Promise((resolve, reject) => { + window.location.replace(`/fr/parcours/${id}`); + console.log('fetch resolve'); commit('confirmAccompanyingCourse', response); - console.log('fetch resolve'); // redirection with #top anchor resolve(); })).catch((error) => { commit('catchError', error) }); } diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig index f2595c65b..b21fd24ea 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -77,7 +77,7 @@
{{ r.person.firstname ~ ' ' ~ r.person.lastname }} - {{ 'Usager' }} + {{ 'Usager' }}
@@ -122,7 +122,7 @@
{{ r.thirdParty.name }} - {{ 'Tiers' }} + {{ 'Tiers' }}
@@ -130,7 +130,10 @@ {{ r.thirdParty.telephone|chill_print_or_message("thirdparty.No_phonenumber") }}
- {{ r.thirdParty.email|chill_print_or_message("thirdparty.No_email") }} + + + {{ r.thirdParty.email|chill_print_or_message("thirdparty.No_email") }} +
{% if r.thirdParty.address == null %}