This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user