cancel style

This commit is contained in:
Ruidy 2024-11-15 16:20:41 +01:00
parent 73b28b1e22
commit 1955c01a20
No known key found for this signature in database
GPG key ID: E00F51288CB857CC
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ templ BookingLines(bookings []*ListBookingsViewModel) {
<td> <td>
<span <span
if b.Canceled { if b.Canceled {
style="text-decoration: line-through;" class="line-through text-gray-500"
} }
> >
{ b.Name } { b.Name }

View file

@ -63,7 +63,7 @@ func BookingLines(bookings []*ListBookingsViewModel) templ.Component {
return templ_7745c5c3_Err return templ_7745c5c3_Err
} }
if b.Canceled { if b.Canceled {
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(" style=\"text-decoration: line-through;\"") _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(" class=\"line-through text-gray-500\"")
if templ_7745c5c3_Err != nil { if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err return templ_7745c5c3_Err
} }