{% extends "base.html" %} {% load static %} {% block title %}Workshop {{ workshop.name }}{% endblock %} {% block header_bar %} {{ workshop.name }} {{ workshop.description}} {% endblock %} {% block header_icons %} {% if user.is_staff %}
  • {% include 'inventory/set_index.html' with item=workshop is_index=is_index %} {% endif %} {% endblock %} {% block content %}

    Areas

    {% for area in workshop.area_related.all %} {% empty %} {% endfor %}
    {{ area.name }} {% if user.is_staff %} {% endif %}
    No areas defined
    {% if user.is_staff %}

    Create new area...

    {% endif %} {% if workshop.show_boxes %}

    Containers

    {% for box in workshop.box_related.all %} {% empty %} {% endfor %}
    {{ box.name }} {% if user.is_staff %} {% endif %}
    No containers defined
    {% if user.is_staff %}

    Create new container...

    {% endif %} {% endif %} {% endblock %}