bugfix: status display, preview annotation
This commit is contained in:
@@ -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 }
|
||||||
{
|
{
|
||||||
sub("\\y"cur"\\y", style_cur cur OFF)
|
if (day == cur) {
|
||||||
sub("\\y"day"\\y", style_highlight day OFF)
|
sub("\\y"cur"\\y", style_highlight style_cur cur OFF)
|
||||||
|
} else {
|
||||||
|
sub("\\y"cur"\\y", style_cur cur OFF)
|
||||||
|
sub("\\y"day"\\y", style_highlight day OFF)
|
||||||
|
}
|
||||||
print
|
print
|
||||||
}
|
}
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user