Add unstarted back to the overview
This commit is contained in:
parent
5cd27be798
commit
c304846556
1 changed files with 3 additions and 2 deletions
|
@ -56,7 +56,7 @@ def __get_row(
|
|||
owner_id, points = item
|
||||
name = persons[owner_id]["name"]
|
||||
|
||||
estimates = [round(points[state], 1) for state in STATES[1:]]
|
||||
estimates = [round(points[state], 1) for state in STATES]
|
||||
|
||||
progress = "["
|
||||
if show_accepted:
|
||||
|
@ -68,6 +68,7 @@ def __get_row(
|
|||
+ __burndown(COLOR_STARTED, "S", points["started"])
|
||||
+ __burndown(COLOR_REJECTED, "R", points["rejected"])
|
||||
+ __burndown(COLOR_PLANNED, "P", points["planned"])
|
||||
+ __burndown(COLOR_PLANNED, "U", points["unstarted"])
|
||||
+ "]"
|
||||
)
|
||||
|
||||
|
@ -130,7 +131,7 @@ def __print_totals(totals: Totals, persons: Persons, show_accepted: bool) -> Non
|
|||
COLOR_HEADER.print("Point totals:", end="\n\n")
|
||||
|
||||
state_headers = [_format_state(state) for state in STATES]
|
||||
headers = ("Owner", *state_headers[1:], "Total", "Progress")
|
||||
headers = ("Owner", *state_headers, "Total", "Progress")
|
||||
|
||||
data = sorted(
|
||||
(__get_row(item, persons, show_accepted) for item in totals.items()),
|
||||
|
|
Loading…
Reference in a new issue