split due into 'due today' and 'overdue'
This commit is contained in:
parent
b75851d823
commit
397cff9194
@ -129,3 +129,4 @@ browsing-again-today = Again
|
|||||||
browsing-edited-today = Edited
|
browsing-edited-today = Edited
|
||||||
browsing-sidebar-due-today = Due
|
browsing-sidebar-due-today = Due
|
||||||
browsing-sidebar-untagged = Untagged
|
browsing-sidebar-untagged = Untagged
|
||||||
|
browsing-sidebar-overdue = Overdue
|
||||||
|
@ -640,7 +640,7 @@ class SidebarTreeView(QTreeView):
|
|||||||
name=TR.BROWSING_SIDEBAR_DUE_TODAY,
|
name=TR.BROWSING_SIDEBAR_DUE_TODAY,
|
||||||
icon=icon,
|
icon=icon,
|
||||||
type=type,
|
type=type,
|
||||||
on_click=search(SearchTerm(card_state=SearchTerm.CARD_STATE_DUE)),
|
on_click=search(SearchTerm(due_on_day=0)),
|
||||||
)
|
)
|
||||||
root.add_simple(
|
root.add_simple(
|
||||||
name=TR.BROWSING_ADDED_TODAY,
|
name=TR.BROWSING_ADDED_TODAY,
|
||||||
@ -670,6 +670,15 @@ class SidebarTreeView(QTreeView):
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
root.add_simple(
|
||||||
|
name=TR.BROWSING_SIDEBAR_OVERDUE,
|
||||||
|
icon=icon,
|
||||||
|
type=type,
|
||||||
|
on_click=search(
|
||||||
|
SearchTerm(card_state=SearchTerm.CARD_STATE_DUE),
|
||||||
|
SearchTerm(negated=SearchTerm(due_on_day=0)),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
# Tree: Card State
|
# Tree: Card State
|
||||||
###########################
|
###########################
|
||||||
|
Loading…
Reference in New Issue
Block a user