1234567891011121314151617181920212223242526272829303132333435363738394041 |
- This is a template for [[/roadmap]] tasks. Parameters:
- - `done`: Whether the task is done (default: no)
- - `prog` Whether the task is in progress (default: no)
- - `text`: The title text of the task, a short description, must be supplied
- - `more`: Additional text such as more details, reports of attempt to do the
- task, useful material, how it was closed, etc. (default: none)
- [[!templatebody <<ENDBODY
- <TMPL_IF done>
- <div class="donetext">
- [[!color foreground=#8ae234 text="**[x]**"]]
- <TMPL_VAR text>
- </div>
- <TMPL_IF more>
- <div class="donemore"><TMPL_VAR more></div>
- </TMPL_IF>
- <TMPL_ELSE>
- <TMPL_IF prog>
- <div class="progtext">
- [[!color foreground=#fce94f text="**[~]**"]]
- <TMPL_VAR text>
- </div>
- <TMPL_IF more>
- <div class="progmore"><TMPL_VAR more></div>
- </TMPL_IF>
- <TMPL_ELSE>
- <div class="todotext">
- [[!color foreground=#ef2929 text="**[_]**"]]
- <TMPL_VAR text>
- </div>
- <TMPL_IF more>
- <div class="todomore"><TMPL_VAR more></div>
- </TMPL_IF>
- </TMPL_IF>
- </TMPL_IF>
- ENDBODY]]
|