{% extends "base.html" %} {% block content %} {% set switch_url = "/boxviewswitch/" ~ box_num %} {% include "includes/view_switch.html" %}
Box {{box_num}} contents
{% if current_view == "mobile" %} {% if box_name != "" %} {{box_name | truncate(25)}}  {% endif %} {% else %} {% if box_name != "" %} Name: {{box_name | truncate(25)}} {% endif %} {% endif %}
{% if current_view == "mobile" %} {% else %} {% endif %}
{% with ITEM_IMAGE_DIR=ITEM_IMAGE_DIR %} {% if not item_list %}

Box {{box_num}} contains no items.

{% elif current_view == "mobile" %} {% include 'includes/includeitemlist_mobile.html' %} {% else %} {% include "includes/includeitemlist.html" %} {% include 'includes/sort.html' %} {% endif %} {% endwith %} {% endblock %}