{% extends "base.html" %} {% load thumbnail %} {% load dict_extras %} {% block title %}{{ thing.name }} - LabHelper{% endblock %} {% block page_header %} {% endblock %} {% block content %}
{% if thing.picture %} {% thumbnail thing.picture "400x400" crop="center" as thumb %} {{ thing.name }} {% endthumbnail %} {% else %}
No image
{% endif %}
{% if thing.tags.all %}
Tags
{% regroup thing.tags.all by facet as facet_list %} {% for facet in facet_list %}
{{ facet.grouper.name }}
{% for tag in facet.list %} {{ tag.name }} {% endfor %}
{% endfor %}
{% endif %}
Location
Box {{ thing.box.id }} ({{ thing.box.box_type.name }})
{% if thing.description %}
Description
{{ thing.description|render_markdown }}
{% endif %} {% if thing.files.all %}
Files
{% for file in thing.files.all %}
{{ file.title }} ({{ file.filename }})
{% endfor %}
{% endif %} {% if thing.links.all %}
Links
{% for link in thing.links.all %} {% endfor %}
{% endif %}
{% endblock %} {% block extra_css %} {% endblock %}