From 98aaeb1328c9f72ead37ff5fc20e97d59bbe4e7e Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Tue, 17 Jun 2025 14:58:56 +0000
Subject: [PATCH] GS-1843
---
vue/src/pages/KursDetail.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/vue/src/pages/KursDetail.vue b/vue/src/pages/KursDetail.vue
index cdbe513..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 ? 2 : 1}">
+ <div :style="{columns: kursTn?.length > 16 ? 1 : 1}">
<table>
<thead>
<tr>
@@ -111,6 +112,7 @@
<th>lastname</th>
<th>passed</th>
<th>status</th>
+ <th>status_changed</th>
</tr>
</thead>
<tbody>
@@ -123,6 +125,7 @@
<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