mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix translation, disable throw exception
This commit is contained in:
parent
6a0ce72836
commit
5fead5b467
@ -55,9 +55,10 @@ class AccompanyingCourseCommentController extends AbstractController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (null === $editForm) {
|
dump($editForm);
|
||||||
throw new NotFoundHttpException('Unable to find an edit form.');
|
//if (null === $editForm) {
|
||||||
}
|
// throw new NotFoundHttpException('Unable to find an edit form.');
|
||||||
|
//}
|
||||||
|
|
||||||
if ($request->getMethod() === Request::METHOD_POST) {
|
if ($request->getMethod() === Request::METHOD_POST) {
|
||||||
$currentForm = $editForm->handleRequest($request);
|
$currentForm = $editForm->handleRequest($request);
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<button class="btn btn-sm btn-misc" type="button">
|
<button class="btn btn-sm btn-misc" type="button">
|
||||||
<i class="fa fa-flag fa-fw"></i>
|
<i class="fa fa-flag fa-fw"></i>
|
||||||
Épingler
|
{{ 'Pin comment'|trans }}
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -412,6 +412,7 @@ fix it: Compléter
|
|||||||
Accompanying Course Comment: Commentaire
|
Accompanying Course Comment: Commentaire
|
||||||
Accompanying Course Comment list: Commentaires du parcours
|
Accompanying Course Comment list: Commentaires du parcours
|
||||||
pinned: épinglé
|
pinned: épinglé
|
||||||
|
Pin comment: Épingler
|
||||||
Post a new comment: Poster un nouveau commentaire
|
Post a new comment: Poster un nouveau commentaire
|
||||||
Write a new comment: Écrire un nouveau commentaire
|
Write a new comment: Écrire un nouveau commentaire
|
||||||
Edit a comment: Modifier le commentaire
|
Edit a comment: Modifier le commentaire
|
||||||
|
Loading…
x
Reference in New Issue
Block a user