Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Chronos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Chronos
Merge requests
!301
New data model based on calendar events
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
New data model based on calendar events
new-model-based-on-calendar
into
master
Overview
42
Commits
65
Pipelines
53
Changes
27
Merged
Jonathan Weth
requested to merge
new-model-based-on-calendar
into
master
1 year ago
Overview
4
Commits
65
Pipelines
53
Changes
27
Expand
0
0
Merge request reports
Compare
master
version 52
07bd0b50
1 year ago
version 51
92e3861c
1 year ago
version 50
037639b9
1 year ago
version 49
dcc6a604
1 year ago
version 48
955800d1
1 year ago
version 47
63826a5d
1 year ago
version 46
e028f57d
1 year ago
version 45
ae6f14ac
1 year ago
version 44
f0e19ae2
1 year ago
version 43
9a7221e6
1 year ago
version 42
e44a47c2
1 year ago
version 41
cd66792e
1 year ago
version 40
fdd0d935
1 year ago
version 39
d1af59cf
1 year ago
version 38
750ff75a
1 year ago
version 37
4a7d8da4
1 year ago
version 36
6552e7fc
1 year ago
version 35
65479f92
1 year ago
version 34
89e7d348
1 year ago
version 33
8b6465ed
1 year ago
version 32
e105841a
1 year ago
version 31
efeed7b3
1 year ago
version 30
315680b9
1 year ago
version 29
c2a4ccb8
1 year ago
version 28
fa1706c9
1 year ago
version 27
25585b51
1 year ago
version 26
10b5781b
1 year ago
version 25
c8e10b49
1 year ago
version 24
8b7a9d87
1 year ago
version 23
c07bd892
1 year ago
version 22
9bcdca79
1 year ago
version 21
8a0dc2fc
1 year ago
version 20
9e492da7
1 year ago
version 19
3f75b026
1 year ago
version 18
ce4a8838
1 year ago
version 17
eebb1823
1 year ago
version 16
d8671616
1 year ago
version 15
ad65d9c6
1 year ago
version 14
9dff100a
1 year ago
version 13
a1d84b63
1 year ago
version 12
59b489d8
1 year ago
version 11
b1b46778
1 year ago
version 10
b5b6feaa
1 year ago
version 9
6fea5788
1 year ago
version 8
69035127
1 year ago
version 7
609ea368
1 year ago
version 6
4d6a3ded
1 year ago
version 5
05dcffa9
1 year ago
version 4
21bd3d8d
1 year ago
version 3
6a6159a6
1 year ago
version 2
a71d04c2
1 year ago
version 1
b9f4bc21
1 year ago
master (base)
and
latest version
latest version
47cc59ba
65 commits,
1 year ago
version 52
07bd0b50
64 commits,
1 year ago
version 51
92e3861c
62 commits,
1 year ago
version 50
037639b9
61 commits,
1 year ago
version 49
dcc6a604
60 commits,
1 year ago
version 48
955800d1
58 commits,
1 year ago
version 47
63826a5d
57 commits,
1 year ago
version 46
e028f57d
56 commits,
1 year ago
version 45
ae6f14ac
54 commits,
1 year ago
version 44
f0e19ae2
54 commits,
1 year ago
version 43
9a7221e6
54 commits,
1 year ago
version 42
e44a47c2
54 commits,
1 year ago
version 41
cd66792e
54 commits,
1 year ago
version 40
fdd0d935
53 commits,
1 year ago
version 39
d1af59cf
52 commits,
1 year ago
version 38
750ff75a
51 commits,
1 year ago
version 37
4a7d8da4
50 commits,
1 year ago
version 36
6552e7fc
49 commits,
1 year ago
version 35
65479f92
49 commits,
1 year ago
version 34
89e7d348
48 commits,
1 year ago
version 33
8b6465ed
48 commits,
1 year ago
version 32
e105841a
47 commits,
1 year ago
version 31
efeed7b3
46 commits,
1 year ago
version 30
315680b9
45 commits,
1 year ago
version 29
c2a4ccb8
43 commits,
1 year ago
version 28
fa1706c9
42 commits,
1 year ago
version 27
25585b51
41 commits,
1 year ago
version 26
10b5781b
37 commits,
1 year ago
version 25
c8e10b49
36 commits,
1 year ago
version 24
8b7a9d87
35 commits,
1 year ago
version 23
c07bd892
33 commits,
1 year ago
version 22
9bcdca79
32 commits,
1 year ago
version 21
8a0dc2fc
31 commits,
1 year ago
version 20
9e492da7
28 commits,
1 year ago
version 19
3f75b026
27 commits,
1 year ago
version 18
ce4a8838
25 commits,
1 year ago
version 17
eebb1823
24 commits,
1 year ago
version 16
d8671616
21 commits,
1 year ago
version 15
ad65d9c6
20 commits,
1 year ago
version 14
9dff100a
19 commits,
1 year ago
version 13
a1d84b63
18 commits,
1 year ago
version 12
59b489d8
17 commits,
1 year ago
version 11
b1b46778
16 commits,
1 year ago
version 10
b5b6feaa
14 commits,
1 year ago
version 9
6fea5788
13 commits,
1 year ago
version 8
69035127
12 commits,
1 year ago
version 7
609ea368
10 commits,
1 year ago
version 6
4d6a3ded
9 commits,
1 year ago
version 5
05dcffa9
7 commits,
1 year ago
version 4
21bd3d8d
6 commits,
1 year ago
version 3
6a6159a6
5 commits,
1 year ago
version 2
a71d04c2
3 commits,
1 year ago
version 1
b9f4bc21
1 commit,
1 year ago
27 files
+
1674
−
354
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
27
Search (e.g. *.vue) (Ctrl+P)
aleksis/apps/chronos/frontend/components/calendar_feeds/details/LessonDetails.vue
0 → 100644
+
123
−
0
Options
<
template
>
<base-calendar-feed-details
v-bind=
"$props"
:color=
"currentSubject ? currentSubject.colour_bg : null"
without-location
>
<template
#title
>
<div
:style=
"
{
color: currentSubject ? currentSubject.colour_fg || 'white' : 'white',
}"
>
<lesson-event-subject
:event=
"selectedEvent"
/>
</div>
</
template
>
<
template
#badge
>
<cancelled-calendar-status-chip
v-if=
"selectedEvent.meta.cancelled"
class=
"ml-4"
/>
<calendar-status-chip
color=
"warning"
icon=
"mdi-clipboard-alert-outline"
v-else-if=
"selectedEvent.meta.amended"
class=
"ml-4"
>
{{
$t
(
"
chronos.event.current_changes
"
)
}}
</calendar-status-chip>
</
template
>
<
template
#description
>
<v-divider
inset
/>
<v-list-item
v-if=
"selectedEvent.meta.groups.length > 0"
>
<v-list-item-icon>
<v-icon
color=
"primary"
>
mdi-account-group-outline
</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>
<lesson-related-object-chip
v-for=
"group in selectedEvent.meta.groups"
:key=
"group.id"
>
{{
group
.
name
}}
</lesson-related-object-chip
>
</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item>
<v-list-item-icon>
<v-icon
color=
"primary"
>
mdi-human-male-board
</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>
<span
v-if=
"teachers.length === 0"
class=
"body-2 text--secondary"
>
{{
$t
(
"
chronos.event.no_teacher
"
)
}}
</span>
<lesson-related-object-chip
v-for=
"teacher in teachers"
:status=
"teacher.status"
:key=
"teacher.id"
new-icon=
"mdi-account-plus-outline"
>
{{
teacher
.
full_name
}}
</lesson-related-object-chip
>
</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item>
<v-list-item-icon>
<v-icon
color=
"primary"
>
mdi-door
</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>
<span
v-if=
"rooms.length === 0"
class=
"body-2 text--secondary"
>
{{
$t
(
"
chronos.event.no_room
"
)
}}
</span>
<lesson-related-object-chip
v-for=
"room in rooms"
:status=
"room.status"
:key=
"room.id"
new-icon=
"mdi-door-open"
>
{{
room
.
name
}}
</lesson-related-object-chip
>
</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-divider
inset
/>
<v-list-item
v-if=
"selectedEvent.meta.comment"
>
<v-list-item-content>
<v-list-item-title>
<v-alert
dense
outlined
type=
"warning"
icon=
"mdi-information-outline"
>
{{
selectedEvent
.
meta
.
comment
}}
</v-alert>
</v-list-item-title>
</v-list-item-content>
</v-list-item>
</
template
>
</base-calendar-feed-details>
</template>
<
script
>
import
calendarFeedDetailsMixin
from
"
aleksis.core/mixins/calendarFeedDetails.js
"
;
import
BaseCalendarFeedDetails
from
"
aleksis.core/components/calendar/BaseCalendarFeedDetails.vue
"
;
import
CalendarStatusChip
from
"
aleksis.core/components/calendar/CalendarStatusChip.vue
"
;
import
CancelledCalendarStatusChip
from
"
aleksis.core/components/calendar/CancelledCalendarStatusChip.vue
"
;
import
LessonRelatedObjectChip
from
"
../../LessonRelatedObjectChip.vue
"
;
import
lessonEvent
from
"
../mixins/lessonEvent
"
;
import
LessonEventSubject
from
"
../../LessonEventSubject.vue
"
;
export
default
{
name
:
"
LessonDetails
"
,
components
:
{
LessonEventSubject
,
LessonRelatedObjectChip
,
BaseCalendarFeedDetails
,
CalendarStatusChip
,
CancelledCalendarStatusChip
,
},
mixins
:
[
calendarFeedDetailsMixin
,
lessonEvent
],
};
</
script
>
Loading