Skip to content

Update template files for in person training #21

Description

@Sparrow0hawk

Currently template files work on the assumption the training is half days. When training is in-person the schedule should be for a full day 0930-1600.

Suggested changes:

  • config.yaml should have different syntax:
date: "2021-11" 
timing: all-day # accepted values being `morning`, `afternoon`, `all-day`

The jinja logic will become:

{% if timing == "morning" %}
Morning timetable
{% else if timing == "afternoon" %}
Afternoon timetable
{% else if timing == "all-day" %}
All-day timetable
{% endif %}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions