From 901bd23ff8d2bfb78e79ae4060109de39f0913d0 Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Wed, 25 Jun 2025 08:01:27 +0000
Subject: [PATCH] GS-2169
---
vue/src/pages/KursDetail.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/vue/src/pages/KursDetail.vue b/vue/src/pages/KursDetail.vue
index bfea590..48cca6f 100644
--- a/vue/src/pages/KursDetail.vue
+++ b/vue/src/pages/KursDetail.vue
@@ -4,6 +4,7 @@
import {onMounted, reactive, ref} from "vue"
import {getKurs, getKursItems, getKursTn, iliasBase, routerBase} from "../lib/api.js"
import LinkExtern from "../components/LinkExtern.vue"
+import dayjs from "dayjs"
const route = useRoute()
const kursId = route.params.kursId
@@ -101,7 +102,7 @@
KursTn
<small>({{ kursTn?.length }})</small>
</h2>
- <div :style="{columns: kursTn?.length > 16 ? 3 : 1}">
+ <div :style="{columns: kursTn?.length > 16 ? 1 : 1}">
<table>
<thead>
<tr>
@@ -109,6 +110,9 @@
<th>login</th>
<th>firstname</th>
<th>lastname</th>
+ <th>passed</th>
+ <th>status</th>
+ <th>status_changed</th>
</tr>
</thead>
<tbody>
@@ -119,6 +123,9 @@
<td>{{ tn.login }}</td>
<td>{{ tn.firstname }}</td>
<td>{{ tn.lastname }}</td>
+ <td>{{ tn.passed }}</td>
+ <td>{{ tn.status }}</td>
+ <td>{{ dayjs(tn.status_changed).format("DD.MM.YYYY HH:mm:ss") }}</td>
</tr>
</tbody>
</table>
--
Gitblit v1.8.0