{% 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 %}
{{ area.name }}
|
{% if user.is_staff %}
{% endif %}
|
{% empty %}
No areas defined |
{% endfor %}
{% if user.is_staff %}
Create new area...
{% endif %}
{% if workshop.show_boxes %}
Containers
{% for box in workshop.box_related.all %}
{{ box.name }}
|
{% if user.is_staff %}
{% endif %}
|
{% empty %}
No containers defined |
{% endfor %}
{% if user.is_staff %}
Create new container...
{% endif %}
{% endif %}
{% endblock %}