bugfix: status display, preview annotation

This commit is contained in:
2025-09-01 17:13:19 +02:00
parent 9d840d95d2
commit 5330864ae5
2 changed files with 7 additions and 3 deletions

View File

@@ -16,7 +16,11 @@ BEGIN {
NR == 1 { print style_month $0 OFF; next } NR == 1 { print style_month $0 OFF; next }
NR == 2 { print style_weekdays $0 OFF; next } NR == 2 { print style_weekdays $0 OFF; next }
{ {
if (day == cur) {
sub("\\y"cur"\\y", style_highlight style_cur cur OFF)
} else {
sub("\\y"cur"\\y", style_cur cur OFF) sub("\\y"cur"\\y", style_cur cur OFF)
sub("\\y"day"\\y", style_highlight day OFF) sub("\\y"day"\\y", style_highlight day OFF)
}
print print
} }

View File

@@ -107,7 +107,7 @@ __view_week() {
status="$1" status="$1"
shift shift
if [ "$status" = "TENTATIVE" ]; then if [ "$status" = "TENTATIVE" ]; then
symb="$STYLE_WV_CANCELLED" symb="$STYLE_WV_TENTATIVE"
elif [ "$status" = "CANCELLED" ]; then elif [ "$status" = "CANCELLED" ]; then
symb="$STYLE_WV_CANCELLED" symb="$STYLE_WV_CANCELLED"
else else