Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Lesrooster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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®
Onboarding
AlekSIS-App-Lesrooster
Merge requests
!36
Draft: Resolve "[New data model] PDF export for "regular" timetable"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: Resolve "[New data model] PDF export for "regular" timetable"
46-new-data-model-pdf-export-for-regular-timetable
into
master
Overview
22
Commits
11
Pipelines
10
Changes
4
4 unresolved threads
Hide all comments
Open
Jonathan Weth
requested to merge
46-new-data-model-pdf-export-for-regular-timetable
into
master
11 months ago
Overview
22
Commits
11
Pipelines
10
Changes
4
4 unresolved threads
Hide all comments
Expand
Closes
#46
0
0
Merge request reports
Viewing commit
258c882d
Show latest version
4 files
+
179
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
Verified
258c882d
Introduce view for regular timetables
· 258c882d
Jonathan Weth
authored
11 months ago
aleksis/apps/lesrooster/frontend/components/timetables/GroupTimeTable.vue
0 → 100644
+
39
−
0
Options
<
script
>
import
{
defineComponent
}
from
"
vue
"
;
import
{
lessonsGroup
}
from
"
./timetables.graphql
"
;
import
MiniTimeTable
from
"
./MiniTimeTable.vue
"
;
export
default
defineComponent
({
name
:
"
GroupTimeTable
"
,
extends
:
MiniTimeTable
,
props
:
{
id
:
{
type
:
String
,
required
:
true
,
},
},
computed
:
{
lessons
()
{
return
this
.
lessonsGroup
;
},
loading
()
{
return
this
.
$apollo
.
queries
.
lessonsGroup
.
loading
;
},
},
apollo
:
{
lessonsGroup
:
{
query
:
lessonsGroup
,
variables
()
{
console
.
log
(
this
.
timeGrid
,
"
TIMEGRID
"
);
return
{
timeGrid
:
this
.
timeGrid
.
id
,
group
:
this
.
id
,
};
},
skip
()
{
return
this
.
timeGrid
===
null
;
},
},
},
});
</
script
>
Loading