{% extends "dashboard_base.html" %} {% block title %}{{ t("troubleshoot-page-title") }} — calrs{% endblock %} {% block dashboard_content %} {% if no_event_types %}
{{ t("troubleshoot-empty", link='' ~ (t("troubleshoot-empty-link-label") | escape) ~ '') | safe }}
{{ t("troubleshoot-subtitle", title='' ~ (et_title | escape) ~ '') | safe }} ({{ t("troubleshoot-duration", minutes=duration) }}{% if buf_before %}, {{ t("troubleshoot-buffer-before", minutes=buf_before) }}{% endif %}{% if buf_after %}, {{ t("troubleshoot-buffer-after", minutes=buf_after) }}{% endif %}{% if min_notice %}, {{ t("troubleshoot-min-notice", minutes=min_notice) }}{% endif %}).
{{ date_label }}
{% if date_is_blocked is defined and date_is_blocked %}{{ t("troubleshoot-none-date-blocked") }}
{% elif has_custom_hours is defined and has_custom_hours and not has_rules %}{{ t("troubleshoot-none-custom-hours") }}
{% elif not has_rules %}{{ t("troubleshoot-none-no-rules", date=date_label) }}
{% else %}{{ t("troubleshoot-none-all-bookable") }}
{% endif %} {% endif %}