id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
4238,Allow ability to "colourize" 'How long ago' column,fermulator,rjollos,It would be useful to be able to specify ''thresholds'' for different coloured output on the "How Long Ago" column of the UserStatsMacro.\r\n\r\nCurrently_ if we have a fair number of users_ it's not clear instantly '''who's good and who's bad'''.\r\nExample:\r\n|| User || Last Login || How long ago ||\r\n|| user || 2008/12/04 00:36:38 || 5 day(s) ||\r\n|| user || 2008/12/07 13:07:03 || 2 day(s) ||\r\n|| user || 2008/11/22 14:32:52 || 17 day(s) ||\r\n|| user	|| 2008/12/09 16:48:47 || <24h ||\r\n|| user || 2008/11/30 18:49:48 || 8 day(s) ||\r\n|| user	|| 2008/12/08 23:14:37 || <24h ||\r\n|| user || 1969/12/31 19:00:00 || 14222 day(s) ||\r\n|| user	|| 2008/12/08 21:07:58 || <24h ||\r\n|| user || 2008/12/02 22:02:40 || 6 day(s) ||\r\n|| user || 2008/12/06 16:38:27 || 3 day(s) ||\r\n|| user || 1969/12/31 19:00:00 || 14222 day(s) ||\r\n|| user || 2008/12/06 19:30:49 || 2 day(s) ||\r\n|| user	|| 2008/12/09 12:12:28 || <24h ||\r\n|| user || 2008/12/08 03:25:15 || 1 day(s) ||\r\n|| user || 2008/02/07 12:33:36 || 306 day(s) ||\r\n|| user || 2008/12/07 13:24:13 || 2 day(s) ||\r\n\r\n\r\nHowever_ if we could provide optional threshold values to the "How Long Ago" in days_ it would help make it much clearer who's active and who's not.\r\n\r\nExample Macro Call:\r\n{{{\r\n[[UserStats(threshold(green_7)_ threshold(yellow_14)_ threshold(red_999999)_ etc.)]]\r\n}}}\r\nThe above example would provide some sort of colour feedback to the table.  If the user logged in within the last 7 days_ they would be GREEN_ in between 7 and 14_ YELLOW_ more than 14 days RED)\r\n(Obviously my idea of the call isn't ideal_ but hopefully you get the point.),enhancement,new,normal,UserStatsMacro,normal,,,,0.11
