Skip to content

Commit

Permalink
Merge pull request #99 from H2-invent/hotfix/softwareForm
Browse files Browse the repository at this point in the history
Fixed Datenweitergabe Form
  • Loading branch information
holzi1005 authored Jan 13, 2021
2 parents 86a7f5a + 4461824 commit 54e8296
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Controller/BerichtController.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public function berichtVvt(DompdfWrapper $wrapper, Request $request)
return $this->redirectToRoute('dashboard');
}


// Retrieve the HTML generated in our twig file
$html = $this->renderView('bericht/vvt.html.twig', [
'daten' => $vvt,
Expand Down
4 changes: 2 additions & 2 deletions src/Form/Type/SoftwareType.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'label' => 'Mit dieser Software verbundene Verarbeitungen',
'translation_domain' => 'form',
'multiple' => true,
'required' => true,
'required' => false,
'attr' => [
'class' => 'selectpicker',
'data-live-search' => 'true'
Expand All @@ -68,7 +68,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'label' => 'Mit dieser Software verbundene Datenweitergaben',
'translation_domain' => 'form',
'multiple' => true,
'required' => true,
'required' => false,
'attr' => [
'class' => 'selectpicker',
'data-live-search' => 'true'
Expand Down
3 changes: 2 additions & 1 deletion templates/dashboard/noteam.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<div class="card-body ">
<p>{% trans %}Für Ihren Benutzer ist kein Team vorhanden.
<br>Fragen Sie Ihrem Administrator oder beim Support der H2 invent nach.{% endtrans %}</p>
<a class="btn btn-secondary" href="mailto:{{ supportMail }}">Support anfragen</a>
<a class="btn btn-elegant" href="mailto:{{ supportMail }}">Support anfragen</a>
<a class="btn btn-secondary" href="{{ path('logout_keycloak') }}">Logout</a>
</div>
</div>

Expand Down

0 comments on commit 54e8296

Please sign in to comment.