Test /
ColorByDate
[[#colorbydate]] (:if date -7days.. @{=$LastModifiedTime} :)>>bgcolor=#ffcccc<< (:elseif date -30days.. @{=$LastModifiedTime} :)>>bgcolor=#ccccff<< (:else:)>>bgcolor=#ccffcc<< (:ifend:) * [[{=$FullName}]] {=$LastModified} [[#colorbydateend]]
(:pagelist group=Test fmt=#colorbydate order=-time count=20:) |
|
[[#colorbydate2]] (:template first:) (:if date -7days.. @{=$LastModifiedTime}:) >>bgcolor=#f9f9f9<< !!!!Last week: (:ifend:) (:template each:) (:if expr date -30days..-8days @{=$LastModifiedTime} && date -7days.. @{<$LastModifiedTime}:) >>bgcolor=#f9f9f9<< !!!!More than a week ago: (:if expr date ..-31days @{=$LastModifiedTime} && date -30days.. @{<$LastModifiedTime}:) >>bgcolor=#f9f9f9<< !!!!More than a month ago: (:if date -7days.. @{=$LastModifiedTime}:) >>bgcolor=#ffd9d9 border-bottom='1px solid #fff'<< (:elseif date -30days.. @{=$LastModifiedTime}:) >>bgcolor=#ffeedd border-bottom='1px solid #fff'<< (:else:) >>bgcolor=#ddffdd border-bottom='1px solid #fff'<< (:ifend:) %rfloat%[- (:if !equal {=$LastModifiedBy} '':) by [[~{=$LastModifiedBy}]](:if:) on {(ftime '%d %B %Y' @{=$LastModifiedTime} )}-]%% * [[{=$FullName}|+]] >><< [[#colorbydate2end]]
>>width=60pct border='1px solid #ccc' padding=3px bgcolor=#f9f9f9<< !!!Recent Tests (:pagelist group=Test order=-time fmt=#colorbydate2 count=20:) >><< |
Recent Tests |