{% if shared_workspaces %}
{% for workspace in shared_workspaces %}
{{ workspace.gcp_project_id }}
{% if workspace.gcp_billing_id %}
{% if workspace.is_owner %}
Billing Account:
({{ billing_account_id_to_name_map|get_dict_value:workspace.gcp_billing_id }}, {{ workspace.gcp_billing_id }})
Change billing account
{% endif %}
{% elif workspace.is_owner %}
{# No billing account attached - show warning and change billing button #}
⚠️ No billing account connected
Connect billing account
{% endif %}
{# Display billing-specific error message when billing issues are detected #}
{% if workspace|has_billing_issues %}
⚠️ Billing Configuration Required:
This workspace requires billing account configuration to function properly.
{% if workspace.is_owner %}
Please use the "Change billing account" button above to resolve this issue.
{% else %}
Please contact the workspace owner to resolve billing issues.
{% endif %}
{% endif %}
{# Display service errors as badges #}
{% service_error_display entity=workspace group_by_severity=True %}
{% if not workspace.status.value == "created" %}
{{ workspace.status.value|capfirst }}...
Loading...
{% else %}
{% if workspace|has_errors %}
Service Issues
{% endif %}
{% if workspace|has_billing_issues %}
Billing Issues
{% endif %}
{% shared_workspace_destroy_modal_button shared_workspace=workspace %}
{% endif %}
{% if workspace.status.value == "created" %}
{% if workspace.buckets %}
{% comment %} Show buckets even if there are service errors {% endcomment %}