Skip to content
Snippets Groups Projects
Commit 6783160a authored by ayeaye's avatar ayeaye
Browse files

Wrap epic number to mod 20

parent 3ec58433
No related merge requests found
......@@ -126,7 +126,7 @@ def makeIssue(issue, isMilestone = False):
try:
itemObj.epic = issue.epic.get("title")
itemObj.eid = issue.epic.get("iid")
itemObj.trClass = f"gepic{itemObj.eid}"
itemObj.trClass = f"gepic{itemObj.eid % 20}"
except AttributeError:
pass
......@@ -170,7 +170,7 @@ def gantt(pid):
pName = epic,
pStart = pStart,
pEnd = pEnd,
trClass = f"gepic gepic{eid}",
trClass = f"gepic gepic{eid%20}",
)
if eid < 0: pStart = 0
epics[eid] = (f"{pStart}-{pEnd}-{eid}", [eio] + iss)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment