Files
stundenfuchs/app/templates/ui/warning_components.html
T
maddin 9794362f39
CI / checks (push) Has been cancelled
chore: initialize public repository
2026-03-22 12:55:55 +00:00

14 lines
643 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% macro workhours_target_warning_banner(warning) -%}
{% if warning and warning.at_risk %}
<section class="workhours-warning-banner"
data-component="workhours-warning"
data-workhours-warning="{{ warning.start_date.isoformat() }}-{{ warning.end_date.isoformat() }}-{{ warning.target_minutes }}">
<p class="workhours-warning-text">Achtung: Arbeitsstundenziel wird ggf. nicht erreicht</p>
<button type="button"
class="workhours-warning-close"
aria-label="Hinweis ausblenden"
data-action="warning-close">×</button>
</section>
{% endif %}
{%- endmacro %}