How to mark overdue ToDos in ToDoNow / Outlook addon?

88 views
Skip to first unread message

Surya

unread,
Jan 23, 2018, 5:35:26 PM1/23/18
to TiddlyWiki
Hi @all,

I am trying to adjust the plugin ToDoNow to my needs.
I have now these plugins for my wanted ToDo-List: ToDoNow + Listreveal + Datepicker + Checklist + ToDoNow Outlook Addon.

I don't want to use the integrated tiddler "ToDoNow" for working with my ToDo-List, but found another way what fits my needs better:
In the Outlook Addon I found a way to display my wanted ToDo-list with this:
\define teBigSaveButton(class:"te-third")

 

<$vars tv-config-toolbar-icons="yes">

@@.te-btn-big.$class$ {{$:/core/ui/Buttons/save-wiki}}@@

</$vars>

\end

\define teBigNewTaskButton(class:"te-first")

<$wikify name="tt" text=<<telang New-ToDo-Item>>><$button tooltip=<<tt>> message="tm-new-tiddler" param="ToDo Item" class="te-btn-big te-create $class$">{{$:/
core/images/new-button}}</$button></$wikify>

\end

<<teBigNewTaskButton>>


 

!! <<telang "This-week">>


 

<$set name="listfilter" value="""[all[]tag[ToDo]][all[]tag[ToDoNow]] +[days:todo-deadline[700]sort[todo-deadline]]""">


 

<ul class="te-list">

<$list filter=<<listfilter>> emptyMessage="<li class='todo-empty'><<telang 'Relax-Nothing-to-do'>></li>">

 
<<todonowShowListItem>>

</$list>

</
ul>


 

</$set>


But I want to see in that list the overdued ToDos marked red (with a red "late" or the title becomes red).



In another experiment I managed successfully to show me tasks which are today or on past days with a red marker „late“ with this:


<ul>

 

 <$list filter="[all[]tag[ToDo]][all[]tag[ToDoNow]] +[days:todo-deadline[700]sort[todo-deadline]]">

 
<li>

 <$link><$view field="title"/></$link>

 <$list filter="[
<currentTiddler>days:todo-deadline[+60]]"> @@color:red;^^late^^@@</$list>

 
</li>

 </$list>

</ul>


How could I integrate this „late marker“ in the first mentioned solution?



Any help very welcome :-)

Surya


Thomas Elmiger

unread,
Jan 24, 2018, 7:23:14 PM1/24/18
to TiddlyWiki
Hi Surya

Me again ;–)

When I use your first example in a new tiddler and set my "Buy christmas presents" task to yesterday then I get a red "late" mark over the stop watch. Is that not what you want?

Late greetings
Thomas

Thomas Elmiger

unread,
Jan 24, 2018, 7:30:50 PM1/24/18
to TiddlyWiki
I hope you installed moments.js plugin too? https://tid.li/tw5/tdn.html#%24%3A%2Fplugins%2Fkixam%2Fmoment

All the best
Thomas

Surya

unread,
Jan 24, 2018, 10:37:17 PM1/24/18
to TiddlyWiki
Hi Thomas,

the "late" marker is now shown :-)

Thanks a lot!!

Surya
Reply all
Reply to author
Forward
0 new messages