diff --git a/src/Controller/VvtController.php b/src/Controller/VvtController.php index 40be42fd..69c9bc47 100644 --- a/src/Controller/VvtController.php +++ b/src/Controller/VvtController.php @@ -282,6 +282,8 @@ public function editVvt( } } + $this->setBackButton($this->generateUrl('vvt_edit', ['id' => $vvt->getId()])); + return $this->render('vvt/edit.html.twig', [ 'form' => $form->createView(), 'assignForm' => $assign->createView(), diff --git a/templates/vvt/__dsfaHistory.html.twig b/templates/vvt/__dsfaHistory.html.twig index a18096dc..8c6f463e 100644 --- a/templates/vvt/__dsfaHistory.html.twig +++ b/templates/vvt/__dsfaHistory.html.twig @@ -1,9 +1,11 @@ {% trans_default_domain 'vvt' %} - - {{ p.createdAt|date('d.m.Y h:m') }} -- id: {{ p.id }} -- {% trans from 'general' %}createdBy{% endtrans %}: {{ p.user.email }} - {% if not p.dsb %} --{% trans %}dsbReviewMissing{% endtrans %}{% endif %} - {% if not p.ergebnis %} -- {% trans %}resultMissing{% endtrans %}{% endif %} - +
{% trans from 'general' %}createdBy{% endtrans %}: {{ vvt.user.email }}
{% if vvt.previous %} -{% trans from 'general' %}createdBy{% endtrans %}: {{ dsfa.user.email }}
{% if dsfa.previous %} -