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 "Template:Phabricator Task"

From cpt
No edit summary
No edit summary
Line 68: Line 68:
{{#set:Points={{{points|}}}}}
{{#set:Points={{{points|}}}}}
{{#set:Task Created Timestamp={{{dateCreated|}}}}}
{{#set:Task Created Timestamp={{{dateCreated|}}}}}
{{#set:Task Created Date={{#if:{{{dateCreated|}}}|{{#timel:Y/m/d h:i A|@{{{dateCreated|}}}}}}}
{{#set:Task Created Date={{#if:{{{dateCreated|}}}|{{#timel:Y/m/d h:i A|@{{{dateCreated|}}}}}}}}}
{{#set:Task Modified Timestamp={{{dateModified|}}}}}
{{#set:Task Modified Timestamp={{{dateModified|}}}}}
{{#set:Task Modified Date={{#if:{{{dateModified|}}}|{{#timel:Y/m/d h:i A|@{{{dateModified|}}}}}}}
{{#set:Task Modified Date={{#if:{{{dateModified|}}}|{{#timel:Y/m/d h:i A|@{{{dateModified|}}}}}}}}}
{{#set:Task Closed Timestamp={{{dateClosed|}}}}}
{{#set:Task Closed Timestamp={{{dateClosed|}}}}}
{{#set:Task Closed Date={{#if:{{{dateClosed|}}}|{{#timel:Y/m/d h:i A|@{{{dateClosed|}}}}}}}
{{#set:Task Closed Date={{#if:{{{dateClosed|}}}|{{#timel:Y/m/d h:i A|@{{{dateClosed|}}}}}}}}}
{{{author|}}}
{{{author|}}}
{{{owner|}}}
{{{owner|}}}

Revision as of 15:38, 27 November 2019