{% extends "base.html" %} {% block title %}{{ set.set_number }}: {{ set.set_name }} - {{ app_name }}{% endblock %} {% block content %}
{% if set.cover_image %} {{ set.set_name }} {% elif set.image_url %} {{ set.set_name }} {% else %}
{% endif %}
{{ set.set_number }} {% if set.is_moc %} MOC {% endif %}
{{ set.set_name }}
{% if set.is_moc %} {% if set.moc_designer %} {% endif %} {% endif %} {% if set.piece_count %} {% endif %}
Theme: {{ set.theme }}
Year: {{ set.year_released }}
Type: My Own Creation
Designer: {{ set.moc_designer }}
Pieces: {{ set.piece_count }}
Instructions: {{ set.instructions.count() }} file(s)
Added: {{ set.created_at.strftime('%b %d, %Y') }}
Instructions
Upload
{% if pdf_instructions or image_instructions %} {% if pdf_instructions %}
PDF Instruction Books
{% for instruction in pdf_instructions %}
{% if instruction.thumbnail_path %} {{ instruction.file_name }} {% else %}
{% endif %}
{{ instruction.file_name }}

{{ instruction.file_size_mb }} MB
{{ instruction.uploaded_at.strftime('%b %d, %Y') }}

{% endfor %}
{% endif %} {% if image_instructions %}
Scanned Instructions
{% set first_image = image_instructions[0] %} Instructions Preview
Image Instructions

{{ image_instructions|length }} page(s)
Uploaded {{ first_image.uploaded_at.strftime('%b %d, %Y') }}

{% endif %} {% else %}
No Instructions Yet

Upload PDF or image files to get started.

Upload Instructions
{% endif %}
Extra Files
Upload Files
{% set extra_files_list = set.extra_files.all() %} {% if extra_files_list %}
{% for file in extra_files_list %}
{% if file.is_image %} {{ file.original_filename }} {% else %}
{% endif %}
{{ file.original_filename }}
{% if file.category and file.category != 'other' %} {{ file.category|replace('_', ' ')|title }} {% endif %}

{{ file.file_size_formatted }}
{{ file.uploaded_at.strftime('%b %d, %Y') }}

{% if file.description %}

{{ file.description|truncate(60) }}

{% endif %}
{% endfor %}
{% else %}

No extra files yet

Upload BrickLink XMLs, Stud.io files, box art, photos, or any other related files

Upload Files
{% endif %}
Additional Information
Set Number:
{{ set.set_number }}
Set Name:
{{ set.set_name }}
Theme:
{{ set.theme }}
Year Released:
{{ set.year_released }}
{% if set.piece_count %}
Piece Count:
{{ set.piece_count }} pieces
{% endif %} {% if set.is_moc %}
Type:
My Own Creation (MOC)
{% if set.moc_designer %}
Designer:
{{ set.moc_designer }}
{% endif %} {% if set.moc_description %}
Description:
{{ set.moc_description }}
{% endif %} {% endif %} {% if set.brickset_id %}
Brickset ID:
{{ set.brickset_id }}
{% endif %}
Added By:
{{ set.added_by.username }}
Date Added:
{{ set.created_at.strftime('%B %d, %Y at %I:%M %p') }}
Last Updated:
{{ set.updated_at.strftime('%B %d, %Y at %I:%M %p') }}
Back to Sets
{% endblock %} {% block extra_css %} {% endblock %}