{% load action_buttons %} {% load environment_templatetags %} {% if recent_workflow %} {% if recent_workflow_failed %} {% elif recent_workflow_succeeded %} {% endif %} {% endif %}
Shared Workspace
{% if shared_workspaces %} {% for workspace in shared_workspaces %}
{% 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 %} {% endif %}
{% if not workspace.status.value == "created" %}
{{ workspace.status.value|capfirst }}...
Loading...
{% else %}
{% if workspace.is_owner %} Pending Requests {% endif %} {% shared_workspace_destroy_modal_button shared_workspace=workspace %}
{% endif %}
{% if workspace.status.value == "created" %}
{% if workspace.buckets %}
Your Buckets
    {% for bucket in workspace.buckets %}
  • {{ bucket.name }}

    {% with project_resource=bucket_project_map|get_dict_value:bucket.name %} {% if project_resource %} Attached to project: {{ project_resource.project.title }} {% endif %} {% endwith %}
    {% if bucket.is_owner %} Owner {% elif bucket.is_admin %} Admin {% else %} Shared with you {% endif %}
    {% with project_resource=bucket_project_map|get_dict_value:bucket.name %} {% if project_resource %}
    {% csrf_token %}
    {% elif bucket.is_owner or bucket.is_admin %} Attach to Project {% endif %} {% endwith %} {% if bucket.is_owner %} {% delete_shared_bucket_modal_button shared_bucket=bucket %} Manage {% elif bucket.is_admin %} Manage Files {% endif %}
  • {% endfor %}
{% else %}

You don't have any buckets in this workspace.

{% if workspace.is_owner %}

Create one using the button below.

{% endif %}
{% endif %} {% if other_available_buckets %}
Other Available Buckets
    {% for bucket in other_available_buckets %} {% if bucket.workspace_id == workspace.gcp_project_id %}
  • {{ bucket.name }}

    {% with project_resource=bucket_project_map|get_dict_value:bucket.name %} {% if project_resource %} Attached to project: {{ project_resource.project.title }} {% endif %} {% endwith %}
  • {% endif %} {% endfor %}
{% endif %} {% if workspace.is_owner %} {% endif %}
{% endif %}
{% endfor %} {% else %}

You don't have any shared workspaces yet.

Create one using the button above.

{% endif %}