Loops

 

Syntax:

 

<#repeat name="loop name"><#/repeat name="loop name">

 

Loops represent Pascal/C while loop and  let the application process the block zero or more times depending on application-defined condition.

 

Available names of task based loops:

 

name="Projects"

Loop on all projects.

Parameters:

       sort="Alphabetical|Duration|BeginDateTime|NoSort" // default = Alphabetical

       descend="True|False" // default = False

 

name="Tasks"

Loop on all tasks.

Parameters:

       sort="Alphabetical|Duration|BeginDateTime|NoSort" // default = Alphabetical

       descend="True|False" // default = False

 

name="Periods"

Loop on all periods.

Parameters:

       sort="Ascend|Descend|NoSort" // default = Ascend

 

 

Available names of time based loops:

 

name="Month"

Loop on all months.

Parameters:

       sort="Ascend|Descend" // default = Ascend

 

name="Week"

Loop on all weeks.

Parameters:

       sort="Ascend|Descend" // default = Ascend

 

name="Day"

Loop on all days.

Parameters:

       sort="Ascend|Descend" // default = Ascend

 

name="TimePeriods"

Loop on all periods.

Parameters:

       sort="Ascend|Descend|NoSort" // default = Ascend

 

 

For example:

 

<#repeat name="Projects" sort="Alphabetical">

       ...

<#/repeat name="Projects">

 

 

See also:

       Template language overview

       Translation tables

       Conditions

       Macros

       Comments

       Parameters

 

 


Time Tracker - Download - Buy now