mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 19:17:19 +02:00
ColRecue: Now uses ::renderStringRight
This commit is contained in:
parent
99f6e6d634
commit
5c9f1f7b45
1 changed files with 3 additions and 11 deletions
|
@ -96,18 +96,10 @@ void ColumnRecur::render (
|
||||||
{
|
{
|
||||||
if (_style == "default" ||
|
if (_style == "default" ||
|
||||||
_style == "duration")
|
_style == "duration")
|
||||||
{
|
renderStringRight (lines, width, color, ISO8601p (task.get ("recur")).format ());
|
||||||
lines.push_back (
|
|
||||||
color.colorize (
|
|
||||||
rightJustify (
|
|
||||||
ISO8601p (task.get ("recur")).format (), width)));
|
|
||||||
}
|
|
||||||
else if (_style == "indicator")
|
else if (_style == "indicator")
|
||||||
{
|
renderStringRight (lines, width, color, context.config.get ("recurrence.indicator"));
|
||||||
lines.push_back (
|
|
||||||
color.colorize (
|
|
||||||
rightJustify (context.config.get ("recurrence.indicator"), width)));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue