This site is no longer actively maintained. It exists for historical purposes as an example of Phabricator integration and Lua scripting.

Difference between revisions of "Main Page"

From cpt
No edit summary
No edit summary
Line 1: Line 1:
{{#vardefine:hours|{{#switch: {{#time:N}}
{{#vardefine:hours|{{#switch: {{#time:N}}|1=72|7=48|#default=24}}}}
| 1=72
 
| 7=48
| #default=24
}}}}
{{#var:hours}}


{|
{|
| style="vertical-align:top;" |
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350  
{| style="border:1px solid #808B96;" width=350  
! style="background-color:#D6EAF8;padding:3px;font-size:1.5em;" | 🌱 Tasks Created in Last 24 Hours
! style="background-color:#D6EAF8;padding:3px;font-size:1.5em;" | 🌱 Tasks Created in Last {{#var:hours}} Hours
|-
|-
| style="padding:3px;" |
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Task Created Timestamp::>{{#time:U|-24 hours}}]]
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Task Created Timestamp::>{{#time:U|-{{#var:hours}} hours}}]]
|sort=Task Created Timestamp
|sort=Task Created Timestamp
|order=desc
|order=desc
Line 24: Line 20:
| style="vertical-align:top;" |
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350  
{| style="border:1px solid #808B96;" width=350  
! style="background-color:#D6EAF8;padding:3px;font-size:1.5em;" | 🎯 Tasks Tagged in Last 24 Hours
! style="background-color:#D6EAF8;padding:3px;font-size:1.5em;" | 🎯 Tasks Tagged in Last {{#var:hours}} Hours
|-
|-
| style="padding:3px;" |
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Creation date::>{{#time:Y/m/d H:i|-24 hours}}]]
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Creation date::>{{#time:Y/m/d H:i|-{{#var:hours}} hours}}]]
|sort=Creation date
|sort=Creation date
|order=desc
|order=desc
Line 39: Line 35:
| style="vertical-align:top;" |
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350  
{| style="border:1px solid #808B96;" width=350  
! style="background-color:#D6EAF8;padding:3px;font-size:1.5em;" | 🎉 Tasks Closed in Last 24 Hours
! style="background-color:#D6EAF8;padding:3px;font-size:1.5em;" | 🎉 Tasks Closed in Last {{#var:hours}} Hours
|-
|-
| style="padding:3px;" |
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Task Closed Timestamp::>{{#time:U|-24 hours}}]]
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Core Platform Team*]][[Task Closed Timestamp::>{{#time:U|-{{#var:hours}} hours}}]]
|sort=Task Closed Timestamp
|sort=Task Closed Timestamp
|order=desc
|order=desc

Revision as of 09:54, 28 July 2019