{# THE CONSUMER CONTRACT, as a template. Three states, three renderings. A page that rendered the `none` and `unavailable` arms identically would look correct and would be the silent failure the product rules forbid: the visitor cannot tell "you have not chosen a project" from "the project service is down", and the remedy for one is not the remedy for the other. Note there is no path anywhere below, and no URL construction. The change action is addressed by the COMMAND NAME the context carries, so a keystroke, a macro and an agent can invoke the same operation this button does. #}
Current project: {{ active_project.name }}
{% elif project_state == "unavailable" %} {% elif project_state == "denied" %}That project is not available to you. The current project is unchanged.
{% else %}No project is selected yet. Choose one to continue.
{% endif %}