{% load action_buttons %} {% if recent_workflow %} {% if recent_workflow_failed %} {% elif recent_workflow_succeeded %} {% endif %} {% endif %}
+ Workspace
{% for workflow in workspace_creation_workflows %}
{% endfor %} {% for workspace_name, environments_project_workflow_triplets in workspace_project_environment_workflow_triplets_dict.items %} {% with collapse="collapse-"|add:workspace_name heading="heading-"|add:workspace_name %}
{% if environments_project_workflow_triplets|length %}
    {% for environment, project, workflows in environments_project_workflow_triplets %}
  • Environment type: {{ environment.type.value|capfirst }}
    Instance type: {{ environment.instance_type.value }}
    Region: {{ environment.region.value }}
    {% if workflows.exists %} {{ workflows.first.get_type_display }} {% else %} {{ environment.status.value|capfirst }} {% endif %}
    {% if workflows.exists %}
    Loading...
    {% elif environment.is_running or environment.is_paused %} {% if environment.is_running %} Open {% environment_modal_button environment=environment project=project button_type="modal_pause" %} {% else %} {% environment_modal_button environment=environment project=project button_type="modal_start" %} {% endif %} {% environment_modal_button environment=environment project=project button_type="modal_instance" %} {% environment_modal_button environment=environment project=project button_type="modal_destroy" %} {% endif %}
  • {% endfor %}
{% else %}
You don't have any worbenches in this workspace.
Create one in the "Projects" tab.
{% endif %}
{% endwith %} {% endfor %}