(refs #25)Alert if due date passed.

This commit is contained in:
takezoe
2013-07-20 19:34:58 +09:00
parent 0028431dde
commit e4b2ebe2a4
6 changed files with 37 additions and 11 deletions

View File

@@ -82,6 +82,7 @@ object helpers extends AvatarImageProvider with LinkConverter with RequestCache
def assets(implicit context: app.Context): String =
s"${context.path}/assets"
def isPast(date: Date): Boolean = System.currentTimeMillis > date.getTime
/**
* Implicit conversion to add mkHtml() to Seq[Html].