Skip to content

Commit 0768ff7

Browse files
author
root
committed
Bugfix: incorrect coloring for records in MyCarSchedules
1 parent c6a2724 commit 0768ff7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/modules/my-car/components/table.html.twig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
{% elseif dates_difference.days < 14 %}
3333
{% set date_color_style = in_2_weeks %}
3434
{% set common_style = font_style %}
35+
{% else %}
36+
{% set date_color_style = '' %}
3537
{% endif %}
3638
{% endif %}
3739

@@ -73,4 +75,4 @@
7375
<h5>Legend</h5>
7476
<button class="btn btn-sm disabled color-legend-button" style="background-color:green;">In 30 - 60 days</button>
7577
<button class="btn btn-sm disabled color-legend-button" style="background-color:orange;">In 14 -30 days</button>
76-
<button class="btn btn-sm disabled color-legend-button" style="background-color:red;">In 14 days</button>
78+
<button class="btn btn-sm disabled color-legend-button" style="background-color:red;">In 14 days</button>

0 commit comments

Comments
 (0)