mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-12 13:46:51 +00:00
cancel style
This commit is contained in:
parent
73b28b1e22
commit
1955c01a20
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ templ BookingLines(bookings []*ListBookingsViewModel) {
|
|||
<td>
|
||||
<span
|
||||
if b.Canceled {
|
||||
style="text-decoration: line-through;"
|
||||
class="line-through text-gray-500"
|
||||
}
|
||||
>
|
||||
{ b.Name }
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ func BookingLines(bookings []*ListBookingsViewModel) templ.Component {
|
|||
return templ_7745c5c3_Err
|
||||
}
|
||||
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 {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue