{% extends "base.html" %} {% block title %}Date rules · LibreSignage{% endblock %} {% block content %}

Holiday & exception rules

Black out closed dates or temporarily replace recurring schedules.

Schedules Calendar

{{ "Edit date rule" if edit_exception else "Create date rule" }}

{% set selected_action = request.form.get( "action", edit_exception.action if edit_exception else "blackout" ) %}
{% set selected_playlist = request.form.get( "playlist_id", edit_exception.playlist_id|string if edit_exception and edit_exception.playlist_id else "" ) %}
{% set selected_group = request.form.get( "screen_group_id", edit_exception.screen_group_id|string if edit_exception and edit_exception.screen_group_id else "" ) %} {% set selected_zone = request.form.get("layout_zone_id", edit_exception.layout_zone_id|string if edit_exception and edit_exception.layout_zone_id else "") %}
Highest priority wins; newest wins a tie.
{% set enabled = request.form.get("enabled") == "on" if request.method == "POST" else (edit_exception.enabled if edit_exception else true) %}
{% if edit_exception %}Cancel{% endif %}
{% for exception in exceptions %}

{{ exception.name }}

{{ exception.action|title }} {% if not exception.enabled %}Disabled{% endif %}
{{ exception.playlist_name or "No playback" }} {{ exception.starts_on }}–{{ exception.ends_on }} · {{ exception.timezone }} · {{ exception.screen_group_name or "All scheduled screens" }} · Priority {{ exception.priority }}
Edit
{% else %}

No date rules yet

Add a holiday blackout or a temporary playlist override.

{% endfor %}
{% endblock %} {% block scripts %} {% endblock %}