diff options
| author | Paul-Christian Volkmer | 2025-04-04 13:59:51 +0200 |
|---|---|---|
| committer | GitHub | 2025-04-04 13:59:51 +0200 |
| commit | 033750eb1015ebc4d1612858dff54496e64a3410 (patch) | |
| tree | ca5e38bd8a38e8a90f46809354fe3c756a3a70f2 /src/main/resources/templates/report.html | |
| parent | befeef31539af73864a2ba21352d62faa5f76af9 (diff) | |
feat: show issue path if available in response body (#92)
Diffstat (limited to 'src/main/resources/templates/report.html')
| -rw-r--r-- | src/main/resources/templates/report.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/resources/templates/report.html b/src/main/resources/templates/report.html index 21d1b48..5442fd4 100644 --- a/src/main/resources/templates/report.html +++ b/src/main/resources/templates/report.html @@ -47,7 +47,7 @@ <thead> <tr> <th>Schweregrad</th> - <th>Beschreibung</th> + <th>Beschreibung und Pfad</th> </tr> </thead> <tbody> @@ -56,7 +56,11 @@ <td th:if="${issue.severity.value == 'warning'}" class="bg-yellow"><small>[[ ${issue.severity} ]]</small></td> <td th:if="${issue.severity.value == 'error'}" class="bg-red"><small>[[ ${issue.severity} ]]</small></td> <td th:if="${issue.severity.value == 'fatal'}" class="bg-red"><small>[[ ${issue.severity} ]]</small></td> - <td>[[ ${issue.message} ]]</td> + <td> + <div class="issue-message">[[ ${issue.message} ]]</div> + <div class="issue-path" th:if="${issue.path.isPresent()}">[[ ${issue.path.get()} ]]</div> + <div class="issue-path" th:if="${issue.path.isEmpty()}"><i>Keine Angabe</i></div> + </td> </tr> </tbody> </table> |
