mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +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) {
|
||||
throw new NotFoundHttpException('Unable to find an edit form.');
|
||||
}
|
||||
dump($editForm);
|
||||
//if (null === $editForm) {
|
||||
// throw new NotFoundHttpException('Unable to find an edit form.');
|
||||
//}
|
||||
|
||||
if ($request->getMethod() === Request::METHOD_POST) {
|
||||
$currentForm = $editForm->handleRequest($request);
|
||||
|
@ -20,7 +20,7 @@
|
||||
<li>
|
||||
<button class="btn btn-sm btn-misc" type="button">
|
||||
<i class="fa fa-flag fa-fw"></i>
|
||||
Épingler
|
||||
{{ 'Pin comment'|trans }}
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
@ -412,6 +412,7 @@ fix it: Compléter
|
||||
Accompanying Course Comment: Commentaire
|
||||
Accompanying Course Comment list: Commentaires du parcours
|
||||
pinned: épinglé
|
||||
Pin comment: Épingler
|
||||
Post a new comment: Poster un nouveau commentaire
|
||||
Write a new comment: Écrire un nouveau commentaire
|
||||
Edit a comment: Modifier le commentaire
|
||||
|
Loading…
x
Reference in New Issue
Block a user