{% load i18n %}
{% trans "Purpose" %} | {% if not no_pipeline %}{% trans "Pipeline" %} | {% endif %}{% trans "Path" %} | {% trans "Description" %} | {% if not no_space %}{% trans "Space" %} | {% endif %}{% trans "UUID" %} | {% trans "Usage" %} | {% trans "Enabled" %} | {% trans "Default" %} | {% if perms.locations.change_location %}{% trans "Actions" %} | {% endif %}
---|---|---|---|---|---|---|---|---|---|
{{ loc.get_purpose_display }} {% if loc.purpose == 'RP' %} {% with loc.masters.all as master_locations %} {% if master_locations %} of {% for master in master_locations %} {{ master.uuid }} {% endfor %} {% endif %} {% endwith %} {% endif %} | {% if not no_pipeline %}
{% for p in loc.pipeline.all %}
{{ p.description }},
{% empty %}
{% trans "No pipelines" %} {% endfor %} |
{% endif %}
{{ loc.full_path }} | {{ loc.description|default:"None" }} | {% if not no_space %}{{ loc.space.uuid|truncatechars:11 }} | {% endif %}{{ loc.uuid }} | {{ loc.used }}B / {{ loc.quota|default:_("unlimited") }} | {{ loc.enabled|yesno:_("Enabled,Disabled") }} | {{ loc.default|yesno:_("Yes,No") }} | {% if perms.locations.change_location or perms.locations.delete_location %}{% if perms.locations.change_location %} {% trans "Edit" %} | {{ loc.enabled|yesno:_("Disable,Enable") }} {% endif %} {% if perms.locations.delete_location %} | {% trans "Delete" %} {% endif %} | {% endif %}