{% import 'macro/accordion.html' as accordion %} {% import 'macro/form.html' as form %} {% import 'macro/table.html' as table %}
| {% endif %} | {% if p.url %}{{ p.name }}{% else %}{{ p.name }}{% endif %} {% if p.spare %} Spare{% endif %} | {% if p.color_rgb %}{% endif %} {{ p.color_name }} | {{ p.quantity }} | {% if not config['HIDE_TABLE_MISSING_PARTS'] %}{% if p.url_missing %} {{ form.input('Missing', item.fields.id, p.prefix_missing, p.url_missing, p.missing) }} {% endif %} | {% endif %} {% if not config['HIDE_TABLE_CHECKED_PARTS'] %}
{% if p.url_checked %}
|
{% endif %}
{% if g.login.is_authenticated() and (not config['HIDE_TABLE_MISSING_PARTS'] or not config['HIDE_TABLE_CHECKED_PARTS'] or (not config['DISABLE_QUICK_ADD_INDIVIDUAL_PARTS'] and not config['HIDE_INDIVIDUAL_PARTS'])) %}
{# Filler cell under the hamburger column so row/header cell counts match #}
{% endif %} |