table.html auf neue Struktur umgestellt

This commit is contained in:
Jason Streifling 2023-10-19 19:59:38 +02:00
parent 4e0c8ec1ac
commit 8622f81f89

View File

@ -1,17 +1,16 @@
{{ define "rows" }} {{ define "rows" }}
{{ range . }} {{ range . }}
<tr> <tr>
<td>{{ .FirstName }}</td> <td>{{ .InstructorFirstName }}</td>
<td>{{ .LastName }}</td> <td>{{ .InstructorLastName }}</td>
<td>{{ .Date }}</td> <td>{{ .BriefingDate }}</td>
<td>{{ .Time }}</td> <td>{{ .BriefingTime }}</td>
<td>{{ .State }}</td> <td>{{ .BriefingLocation }}</td>
<td>{{ .Location }}</td> <td>{{ .BriefingDocumentName }}</td>
{{ range .Participants }} <td>{{ .BriefingAsOf }}</td>
<td>{{ .FirstName }}</td> <td>{{ .ParticipantFirstName }}</td>
<td>{{ .LastName }}</td> <td>{{ .ParticipantLastName }}</td>
<td>{{ .Company }}</td> <td>{{ .ParticipantCompany }}</td>
{{ end }}
</tr> </tr>
{{ end }} {{ end }}
{{ end }} {{ end }}
@ -35,8 +34,9 @@
<th colspan="2">Unterweiser</th> <th colspan="2">Unterweiser</th>
<th>Datum</th> <th>Datum</th>
<th>Uhrzeit</th> <th>Uhrzeit</th>
<th>Stand</th>
<th>Ort</th> <th>Ort</th>
<th>Dokument</th>
<th>Stand</th>
<th colspan="2">Teilnehmer</th> <th colspan="2">Teilnehmer</th>
<th>Firma</th> <th>Firma</th>
</tr> </tr>