Skip to content
Snippets Groups Projects
Commit a421e416 authored by Julian's avatar Julian
Browse files

Stack lesson times in compact mode like in the mockup

parent f4017258
No related branches found
No related tags found
2 merge requests!352Draft: Resolve "Add dialog with each lesson's students",!350Resolve "Add simple course book list"
Pipeline #175522 failed
<template>
<v-card-text class="d-flex align-center flex-wrap">
{{ $d(toDateTime(documentation.datetimeStart), "shortTime") }}
{{ $d(toDateTime(documentation.datetimeEnd), "shortTime") }}
<v-card-text class="d-flex align-center flex-wrap gap">
<div>
<time :datetime="documentation.datetimeStart" :class="{ 'd-block': compact }">
{{ $d(toDateTime(documentation.datetimeStart), "shortTime") }}
</time>
<span v-if="!compact"></span>
<time :datetime="documentation.datetimeEnd" :class="{ 'd-block': compact }">
{{ $d(toDateTime(documentation.datetimeEnd), "shortTime") }}
</time>
</div>
{{ documentation.course?.name }}
<subject-chip
v-if="documentation.subject"
......@@ -30,3 +37,9 @@ export default {
},
};
</script>
<style scoped>
.gap {
gap: 1em;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment