forked from janek/mostr
fix(tasks): temporary improved author formatting
This commit is contained in:
parent
3c93e0aae7
commit
84e46827ce
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ impl Tasks {
|
||||||
"desc",
|
"desc",
|
||||||
].into_iter().map(|s| s.to_string()).collect(),
|
].into_iter().map(|s| s.to_string()).collect(),
|
||||||
sorting: [
|
sorting: [
|
||||||
"author",
|
|
||||||
"state",
|
"state",
|
||||||
|
"author",
|
||||||
"hashtags",
|
"hashtags",
|
||||||
"rtime",
|
"rtime",
|
||||||
"name",
|
"name",
|
||||||
|
@ -490,7 +490,7 @@ impl Tasks {
|
||||||
}
|
}
|
||||||
"progress" => prog_string.clone(),
|
"progress" => prog_string.clone(),
|
||||||
|
|
||||||
"author" => self.get_author(&task.event.pubkey),
|
"author" => format!("{:.6}", self.get_author(&task.event.pubkey)), // FIXME temporary until proper column alignment
|
||||||
"path" => self.get_task_path(Some(task.event.id)),
|
"path" => self.get_task_path(Some(task.event.id)),
|
||||||
"rpath" => self.relative_path(task.event.id),
|
"rpath" => self.relative_path(task.event.id),
|
||||||
// TODO format strings configurable
|
// TODO format strings configurable
|
||||||
|
|
Loading…
Add table
Reference in a new issue