{% if error %}
{{ error }}
{% elif plan %}Switching to {{ plan.layout_name }} ({{ plan.slot_count }} slots) keeps {{ plan.preserved | length }} photo(s).
{% if plan.displaced %}{{ plan.displaced | length }} photo(s) will return to the unused pool:
No photos will be displaced.
{% endif %}