diff --git a/CONTROL/control b/CONTROL/control index 9763c34..a36cfc4 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 0.8.8 +Version: 0.8.8-1 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: mongoose(>=3.0-2),jim(>=0.71-1),jim-sqlite3(>=0.71-1),jim-cgi(>=0.4-1),jim-oo,jim-pack,service-control,busybox(>=1.19.3-1),lsof,epg(>=1.0.8),hmt(>=1.1.2),ssmtp,anacron diff --git a/var/mongoose/include/sched.jim b/var/mongoose/include/sched.jim index 8d85685..e4ab2f4 100755 --- a/var/mongoose/include/sched.jim +++ b/var/mongoose/include/sched.jim @@ -153,10 +153,11 @@ proc eventrow {event {table TBL_RESERVATION}} { } if {$table eq "pending"} { - if {[$event get action] == 0} { - set icon "add" - } else { - set icon "close" + switch [$event get action] { + 0 { set icon "add" } + 1 { set icon "close" } + 2 { set icon "ar" } + 3 { set icon "pad" } } puts " "