{% load i18n %} {# Reusable stockrooms table for any section. Price-rule column/edit for hulls+modules. #}

{% trans "Stockrooms" %}

{% if section == 'hulls' or section == 'modules' %}{% endif %} {% for s in sources %} {% if section == 'hulls' or section == 'modules' %} {% endif %} {% empty %} {% endfor %}
{% if shop.shop_type == 'corporation' %}{% trans "Corporation" %}{% else %}{% trans "Character" %}{% endif %}{% if shop.shop_type == 'corporation' %}{% trans "Division" %}{% else %}{% trans "Station" %}{% endif %}{% trans "Container" %}{% trans "Default price" %}
{{ s.owner_display }} {{ s.location_display }} {% if s.container_name %}{{ s.container_name }}{% elif s.container_item_id %}#{{ s.container_item_id }}{% else %}{% trans "Whole station" %}{% endif %}{{ s.price_rule_display }} {% if section == 'hulls' or section == 'modules' %} {% endif %}
{% csrf_token %}
{% trans "No stockrooms yet." %}