Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExport the content if the field is not empty; otherwise, display other text
collapsetrue
%{( '${Focus}' .length >  0 ) ?  'Focus: ${Focus}' :  'Focus not Available' }
Code Block
titleSet the current date and compare dates
collapsetrue
${set(theDate,%{(new Date()).getDate()-14 + "-" + ((new Date()).getMonth()+1) + "-" + (new Date()).getFullYear()})}
#{if (%{${dateformat("d-M-yyyy"):Updated} > ${theDate}})}										
(...)
#{end}