{% extends "base.html" %} {#- Close a packet (docs/close-remove-plan.md): what is outstanding, then Close or Close and delete folder. Every way in to closing ends here. -#} {% import "_close.html" as cl %} {% block title %}Close {{ e.name }}{% endblock %} {% block crumbs %}/ {{ e.name }} / close{% endblock %} {% block head %}{{ cl.style() }}{% endblock %} {% block main %} {% set c = res.counts %} {% set busy = c.busy > 0 %} {% set hard = res.findings|selectattr("severity", "equalto", "busy")|rejectattr("kind", "in", stoppable)|list %} {% set kids = res.findings|selectattr("kind", "equalto", "children")|list %} {% set onlystop = busy and hard|length == 0 %} {% set onlykids = busy and kids and hard|length == 1 %} {% set loss = cl.losses(res)|trim %}
| Folder | {{ res.folder }}
· {% if split %}a split wpk made{% elif owned %}made by wpk{% else %}yours (wpk did not make it){% endif %} |
| Checked | {{ res.checked|epoch }} Check again |
| Repos | {% for r in res.repos %}{{ r.path }}{% if r.branch %} ({{ r.branch }}){% endif %}{{ ", " if not loop.last }}{% endfor %} |
| Board shells | {{ shells|length }} open: Stop everything and close ends them |
Nothing outstanding: it is safe to close{% if owned %} and to delete its folder{% endif %}.
{% endif %} {% if can %} {% else %}Only the board's owner can close it.
{% endif %} {% endblock %}