Verified Commit 1f99ddad authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

assign_am: different style for those AM with negative free slots (i.e. more...


assign_am: different style for those AM with negative free slots (i.e. more assignements than the requested slots)

Thanks: urbec for noticying I missed this case!
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 9c4977eb
Pipeline #268081 passed with stage
in 5 minutes and 39 seconds
......@@ -67,6 +67,8 @@ document.addEventListener("DOMContentLoaded", evt => { main(); });
class="btn btn-sm btn-outline-secondary" data-toggle="tooltip" title="This AM has no slots at all"
{% elif am.stats_free == 0 %}
class="btn btn-sm btn-secondary" data-toggle="tooltip" title="This AM has no free slots"
{% elif am.stats_free < 0 %}
class="btn btn-sm btn-dark" data-toogle="tooltip" title="This AM is working too hard already!"
{% else %}
{% if am.person.status == "dd_u" and process.applying_for == "dd_nu" %}
class="btn btn-sm btn-warning" data-toggle="tooltip" title="DD_U AMs should be preferably assigned to DD_U processes"
......
Supports Markdown
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