added support for short course names in the case of super long names (looking at you RSLC)
This commit is contained in:
@@ -85,7 +85,7 @@ onMounted(async () => {
|
||||
<TableBody v-if="loaded">
|
||||
<TableRow class="cursor-pointer" v-for="report in trainingReports" :key="report.event_id"
|
||||
@click="viewTrainingReport(report.event_id);">
|
||||
<TableCell class="font-medium">{{ report.course_name }}</TableCell>
|
||||
<TableCell class="font-medium">{{ report.course_name.length > 30 ? report.course_shortname : report.course_name }}</TableCell>
|
||||
<TableCell>{{ report.date }}</TableCell>
|
||||
<TableCell class="text-right">{{ report.created_by_name === null ? "Unknown User" :
|
||||
report.created_by_name
|
||||
|
||||
Reference in New Issue
Block a user