File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -321,12 +321,12 @@ def format_name(key):
321321 if name == current_init
322322 }
323323
324- # Separate completed projects from the cycle initiatives
324+ # Separate completed or incomplete projects from the cycle initiatives
325325 completed_projects = []
326326 for name , projects in list (projects_by_initiative .items ()):
327327 remaining = []
328328 for project in projects :
329- if project .get ("status" , {}).get ("name" ) == "Completed" :
329+ if project .get ("status" , {}).get ("name" ) in { "Completed" , "Incomplete" } :
330330 completed_projects .append (project )
331331 else :
332332 remaining .append (project )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ <h3>Cycle Projects</h3>
4646 < ul >
4747 {% for initiative, projects in cycle_projects_by_initiative.items() %}
4848 {% for project in projects %}
49- {% set is_completed = project.status and project.status.name == 'Completed' %}
49+ {% set is_completed = project.status and project.status.name in [ 'Completed', 'Incomplete'] %}
5050 < li >
5151 {% if project.health and not is_completed %}
5252 {% if project.health == 'onTrack' %}
You can’t perform that action at this time.
0 commit comments