add new twig features

This commit is contained in:
team2
2026-02-14 08:09:47 +01:00
parent a625468a9a
commit 0657e0585b
3 changed files with 6 additions and 6 deletions

View File

@@ -17,7 +17,7 @@
{% else %} {% else %}
<div class="card bg-black text-info border-secondary"> <div class="card bg-black text-info border-secondary">
<div class="card-body p-0"> <div class="card-body p-0">
<table class="table table-dark table-hover mb-0"> <table class="table table-dark table-hover mb-0 align-middle">
<thead> <thead>
<tr> <tr>
<th>Titel</th> <th>Titel</th>
@@ -67,7 +67,7 @@
<td> <td>
<a class="btn btn-sm btn-outline-light" href="{{ path('admin_document_show', {id: document.id}) }}" <a class="btn btn-sm btn-outline-light" href="{{ path('admin_document_show', {id: document.id}) }}"
class="text-decoration-none text-light"> class="text-decoration-none text-light">
Ansehen Details
</a> </a>
</td> </td>
</tr> </tr>

View File

@@ -28,7 +28,7 @@
<table class="table table-dark table-hover mb-0"> <table class="table table-dark table-hover mb-0">
<thead> <thead>
<tr> <tr>
<th>ID</th> <th>Job-ID</th>
<th>Typ</th> <th>Typ</th>
<th>Status</th> <th>Status</th>
<th>Dokument</th> <th>Dokument</th>
@@ -44,7 +44,7 @@
<tr> <tr>
<td> <td>
<a href="{{ path('admin_job_show', {id: job.id}) }}" <a href="{{ path('admin_job_show', {id: job.id}) }}"
class="text-decoration-none text-light"> class="text-light">
{{ job.id }} {{ job.id }}
</a> </a>
</td> </td>
@@ -64,7 +64,7 @@
<td> <td>
{% if job.documentId %} {% if job.documentId %}
{{ job.documentId }} <a href="/admin/documents/{{ job.documentId }}" class="text-light">{{ job.documentId }}
{% else %} {% else %}
- -
{% endif %} {% endif %}

View File

@@ -37,7 +37,7 @@
<div class="mb-2"> <div class="mb-2">
<strong>Dokument:</strong> <strong>Dokument:</strong>
{{ job.documentId ?? '-' }} <a href="/admin/documents/{{ job.documentId }}" class="text-light">{{ job.documentId ?? '-' }}</a>
</div> </div>
<div class="mb-2"> <div class="mb-2">