Skip to content
Snippets Groups Projects

Draft: Resolve "[New data model] PDF export for "regular" timetable"

Open Jonathan Weth requested to merge 46-new-data-model-pdf-export-for-regular-timetable into master
4 unresolved threads

Closes #46

Merge request reports

Pipeline #194806 failed

Ready to merge by members who can write to the target branch.
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
38 } else if (!selected && !this.timeGrid) {
39 this.$router.push({ name: "lesrooster.timetable" });
40 } else if (
41 selected.objId !== this.$route.params.id ||
42 selected.type.toLowerCase() !== this.$route.params.type ||
43 this.timeGrid.id !== this.$route.params.timeGrid
44 ) {
45 this.$router.push({
46 name: "lesrooster.timetableWithId",
47 params: {
48 timeGrid: this.timeGrid.id,
49 type: selected.type.toLowerCase(),
50 id: selected.objId,
51 },
52 });
53 }
  • Jonathan Weth added 15 commits

    added 15 commits

    • a3c51cfd...3a47eb8e - 9 commits from branch master
    • a6c397f2 - Improve and restructure mini timetables, include mini timetable for teachers
    • ce6f8c64 - Support displaying dates of validity ranges in TimeGridField
    • 258c882d - Introduce view for regular timetables
    • e3eed6cc - Fix mobile view for validity range select in timetables
    • ef7b2083 - Add print view for regular timetables
    • bf56787f - Add print button to timetable view

    Compare with previous version

  • Jonathan Weth requested review from @ZugBahnHof

    requested review from @ZugBahnHof

  • 7 7 name: "RoomTimeTable",
    8 8 extends: MiniTimeTable,
    9 9 props: {
    10 roomId: {
    10 id: {
    • Comment on lines -10 to +10

      If the prop is named the same it should probably be in the supercomponent (but maybe not as it isn't used there, what do you think?)

    • Please register or sign in to reply
  • 109 </v-btn>
    110 </div>
    111 </template>
    112 <template #default="{ selected }">
    113 <group-time-table
    114 v-if="$route.params.type === 'group'"
    115 v-bind="timetableAttrs"
    116 />
    117 <teacher-time-table
    118 v-else-if="$route.params.type === 'teacher'"
    119 v-bind="timetableAttrs"
    120 />
    121 <room-time-table
    122 v-else-if="$route.params.type === 'room'"
    123 v-bind="timetableAttrs"
    124 />
  • 1 {% extends 'core/base_print.html' %}
    2
    3 {% load data_helpers static i18n %}
    4
    5 {% block extra_head %}
    6 <link rel="stylesheet" href="{% static 'css/lesrooster/timetable_print.css' %}">
    7 {% endblock %}
    8
    9 {% block page_title %}
    10 {% trans "Timetable" %} <i>{{ el.short_name }}</i>
  • Jonathan Weth added 8 commits

    added 8 commits

    • bf56787f...b40146fb - 2 commits from branch master
    • 07e54625 - Improve and restructure mini timetables, include mini timetable for teachers
    • 0409ac29 - Support displaying dates of validity ranges in TimeGridField
    • ba0f1b66 - Introduce view for regular timetables
    • 49149426 - Fix mobile view for validity range select in timetables
    • caa31f34 - Add print view for regular timetables
    • 245fb121 - Add print button to timetable view

    Compare with previous version

  • Jonathan Weth added 1 commit

    added 1 commit

    Compare with previous version

  • @hansegucker what is the status here?

  • Jonathan Weth added 42 commits

    added 42 commits

    • 71106734...da8b6c2f - 35 commits from branch master
    • c17a003a - Improve and restructure mini timetables, include mini timetable for teachers
    • 54fb4873 - Support displaying dates of validity ranges in TimeGridField
    • d1fa1023 - Introduce view for regular timetables
    • d4de8d39 - Fix mobile view for validity range select in timetables
    • 248d0e7f - Add print view for regular timetables
    • b69acd13 - Add print button to timetable view
    • 3204c261 - Remove debug prints

    Compare with previous version

  • FSS kind of needs this. What is the status? As far as I can see, the workflow is not blocked anymore by the mentioned issue in Chronos. @hansegucker

  • Jonathan Weth added 71 commits

    added 71 commits

    • 3204c261...b740e39c - 64 commits from branch master
    • 2a425bbe - Improve and restructure mini timetables, include mini timetable for teachers
    • 13009da2 - Support displaying dates of validity ranges in TimeGridField
    • 34f18aa6 - Introduce view for regular timetables
    • 1a5a39a8 - Fix mobile view for validity range select in timetables
    • 7b2dee32 - Add print view for regular timetables
    • fb4e3f09 - Add print button to timetable view
    • 2e1c62d4 - Remove debug prints

    Compare with previous version

  • Jonathan Weth added 1 commit

    added 1 commit

    Compare with previous version

  • Jonathan Weth added 159 commits

    added 159 commits

    • b49a907d...151b9e88 - 151 commits from branch master
    • b7101882 - Improve and restructure mini timetables, include mini timetable for teachers
    • 726e66fe - Support displaying dates of validity ranges in TimeGridField
    • 24244976 - Introduce view for regular timetables
    • 604247f6 - Fix mobile view for validity range select in timetables
    • 502836d4 - Add print view for regular timetables
    • a0e2fe1e - Add print button to timetable view
    • 668c111b - Remove debug prints
    • fc1a3826 - Fix PDF export

    Compare with previous version

  • Jonathan Weth added 3 commits

    added 3 commits

    • c9c874ce - Fix and update translation (keys)
    • de33dc2d - Update timetable printing for lesson bundles
    • 4dc81d21 - Update changelog

    Compare with previous version

  • Please register or sign in to reply
    Loading