% if (!window.beaker_current_user) { %>
You are not logged in.
<% } else if (!lab_controller_id) { %>System must be associated to a lab controller in order to provision.
<% } else if (_.isEmpty(arches)) { %>System must have at least one supported architecture defined in order to provision.
<% } else if (!can_configure_netboot) { %>You do not have access to provision this system. <% if (status == "Automated" && can_reserve) { %> To reserve this system through the scheduler, use the Reserve Workflow. <% } %> <% if (status == "Manual" && can_reserve) { %> Reserve this system to provision it. <% } %>
<% } else { %> <% if (current_reservation && current_reservation.get('type') == 'recipe') { %>