Task: Add dummy templates to avoid exceptions

This commit is contained in:
Björn Fromme
2023-10-12 10:45:58 +02:00
parent 46915955b0
commit 3989fc0491
5 changed files with 21 additions and 5 deletions
@@ -13,6 +13,6 @@ class IndexController extends AbstractController
#[IsGranted('ROLE_TEAMER')] #[IsGranted('ROLE_TEAMER')]
public function index(): Response public function index(): Response
{ {
return $this->render(''); return $this->render('teamer/document/index.html.twig');
} }
} }
@@ -13,6 +13,6 @@ class IndexController extends AbstractController
#[IsGranted('ROLE_TEAMER')] #[IsGranted('ROLE_TEAMER')]
public function index(): Response public function index(): Response
{ {
return $this->render(''); return $this->render('teamer/feedback/index.html.twig');
} }
} }
@@ -0,0 +1,9 @@
{% extends 'teamer/layout.html.twig' %}
{% block title %}Meine Dokumente{% endblock %}
{% block content %}
<h1 class="text-2xl font-bold pb-8">
Meine Dokumente
</h1>
{% endblock %}
@@ -0,0 +1,9 @@
{% extends 'teamer/layout.html.twig' %}
{% block title %}Mein Feedback{% endblock %}
{% block content %}
<h1 class="text-2xl font-bold pb-8">
Mein Feedback
</h1>
{% endblock %}
+1 -3
View File
@@ -75,9 +75,7 @@
{% else %} {% else %}
<tr> <tr>
<td colspan="6"> <td colspan="6">
<div class="text-center"> Keine Daten...
Keine Daten
</div>
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}