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
m (Text replacement - "Core Platform Team" to "Platform Engineering")
 
(88 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="border:1px solid #808B96;max-width=150px;"
<div style="display:none;">
! style="background-color:#AED6F1;padding:3px;"|Recently Imported Tasks
{{#vardefine:type|{{#urldecode:{{#urlget:type|days}}}}}}
{{#vardefine:days|{{#ifeq:{{#var:type}}|days|{{#urlget:days|{{#switch:{{#timel:N}}|1=3|7=4|#default=1}}}}}}}}
</div>
 
 
<div style="text-align:center;font-weight:bold;">[{{fullurl:{{FULLPAGENAME}}|days=1}} Last 1 day] | [{{fullurl:{{FULLPAGENAME}}|days=2}} Last 2 days] | [{{fullurl:{{FULLPAGENAME}}|days=3}} Last 3 days] | [{{fullurl:{{FULLPAGENAME}}|days=7}} Last 7 days] | [{{fullurl:{{FULLPAGENAME}}|type=last}} Last 20]</div>
 
 
<div style="width:1070px;margin:0 auto;">
{{#ifeq:{{#var:type}}|days|{{#!:
{|
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127793; Tasks Created in Last {{#var:days}} {{#ifeq:{{#var:days}}|1|Day|Days}} [{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Task Created Timestamp::>{{#time:U|-{{#var:days}} days}}]]|format=count}}]
|-
|-
| {{#ask:[[Category:Phabricator Tasks]]|sort=Creation date|order=desc|format=ul|limit=10|searchlabel=}}
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Task Created Timestamp::>{{#time:U|-{{#var:days}} days}}]]
|sort=Task Created Timestamp
|order=desc
|format=ul
|searchlabel=
|limit=500
}}
|}
|}
| style="width:10px;" | &nbsp;
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127919; Tasks Tagged in Last {{#var:days}} {{#ifeq:{{#var:days}}|1|Day|Days}} [{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Creation date::>{{#time:Y/m/d H:i|-{{#var:days}} days}}]]|format=count}}]
|-
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Creation date::>{{#time:Y/m/d H:i|-{{#var:days}} days}}]]
|sort=Creation date
|order=desc
|format=ul
|searchlabel=
|limit=500
}}
|}
| style="width:10px;" | &nbsp;
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127881; Tasks Closed in Last {{#var:days}} {{#ifeq:{{#var:days}}|1|Day|Days}} [{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Task Closed Timestamp::>{{#time:U|-{{#var:days}} days}}]]|format=count}}]
|-
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]][[Task Closed Timestamp::>{{#time:U|-{{#var:days}} days}}]]
|sort=Task Closed Timestamp
|order=desc
|format=ul
|searchlabel=
|limit=500
}}
|}
}}
|{{#!:
{|
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127793; Last 20 Tasks Created
|-
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]]
|sort=Task Created Timestamp
|order=desc
|format=ul
|limit=20
|searchlabel=
}}
|}
| style="width:10px;" | &nbsp;
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127919; Last 20 Tasks Tagged
|-
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]]
|sort=Creation date
|order=desc
|format=ul
|limit=20
|searchlabel=
}}
|}
| style="width:10px;" | &nbsp;
| style="vertical-align:top;" |
{| style="border:1px solid #808B96;" width=350
! style="background-color:#D6EAF8;padding:3px;font-size:1.2em;" | &#127881; Last 20 Tasks Closed
|-
| style="padding:3px;" |
{{#ask:[[Category:Phabricator Tasks]][[Has subobject.Project::~Platform Engineering*]]
|sort=Task Closed Timestamp
|order=desc
|format=ul
|limit=20
|searchlabel=
}}
|}
|}
}}}}
</div>
__NOCACHE__

Latest revision as of 21:41, 29 July 2020




🌱 Tasks Created in Last 1 Day [0]
 
🎯 Tasks Tagged in Last 1 Day [0]
 
🎉 Tasks Closed in Last 1 Day [0]