{% extends "base.html" %} {% load crispy_forms_tags %} {% load currency_filters %} {% block title %} {{ auction.title }} {% endblock %} {% load static %} {% block extra_js %} {% if not hasChosenLocation and not ended %} {% endif %} {% if not auction.no_location and google_maps_api_key %} {% elif not auction.no_location %} {% endif %} {% endblock %} {% block content %}
{% include 'auction_ribbon.html' %} {% if can_make_current_auction %}
Pin this auction to {{ auction.club.name }}'s sidebar. Make this the current club auction
{% endif %} {# Quick Actions Section - Organized and Clean #}
{% comment %} AR lot scanning is app-only (native camera); deep-link into it. Visible to every user. {% endcomment %} {% if request.is_mobile_app %} {% endif %}
{% if auction.is_online or not auction.allow_bulk_adding_lots %} Add Lot {% else %} Add Lots {% endif %}
{% if auction_contact_email and request.user.is_authenticated %} {% endif %} {% comment %} Label printing is native (Bluetooth) in the mobile app; hide the web print-labels button there. {% endcomment %} {% if request.user.is_authenticated and user_has_lots and not request.is_mobile_app %} {% endif %}
{# Admin Actions - Collapsible Section #} {% if view.is_auction_admin or request.user.is_superuser %}
{% if view.is_auction_admin %} {% if not auction.is_online %} {% if not request.is_mobile_app %} {% endif %} {% endif %} {% if not auction.multi_location %} {% for location in pickup_locations %} {% endfor %} {% endif %} {% endif %} {% if request.user.is_superuser %} {% endif %}
{% endif %}
{# Auction Description #} {% if auction.summernote_description %}
{{ auction.summernote_description|safe }}
{% endif %} {# Auction Rules - Not collapsible #}
Auction Rules & Details
{# Map Display #} {% if not auction.no_location %}
{% if google_maps_api_key %}
{% else %}
Map unavailable until a Google Maps API key is configured.
{% endif %}
{% endif %} {# Join Auction Section - More Prominent #} {% if auction.all_location_count %} {% if not ended %}
Join This Auction
{% if request.user.is_authenticated %} {% if auction.is_online %}

To participate in this auction, please confirm that you've read the rules and select your pickup location.

{% else %}

To participate in this auction, please confirm that you've read the rules.

{% endif %} {% if show_club_join_message %}

Joining this auction will also add you to {{ auction.club.name }}.

{% endif %} {% crispy form form.helper %} {% else %}

Please login to join the auction

{% endif %} {# Single location details shown here #} {% if not auction.multi_location %} {% for location in pickup_locations %}
{% if location.description %}

{{ location.description|linebreaksbr }}

{% endif %} {% if not location.pickup_by_mail %} {% if location.users_must_coordinate_pickup %}

You must schedule your pickup time in advance.

{% else %}

Pickup: {{ location.pickup_time }}

{% endif %}
{%if location.has_coordinates %} Get directions {% endif %} {% if hasChosenLocation == location.pk and not location.users_must_coordinate_pickup %} {% include 'auction_calendar_button.html' with location=location second="False" label="Add to calendar" %} {% endif %} {% if view.is_auction_admin %} Edit {% endif %}
{% if location.second_pickup_time %}

You must return on {{ location.second_pickup_time }} to pick up lots from other locations.

{% if hasChosenLocation == location.pk%} {% include 'auction_calendar_button.html' with location=location second="True" label="Add return pickup to calendar" %} {% endif %} {% endif %} {% endif %} {% endfor %} {% endif %}
{% endif %} {# Multi-location Details with Horizontal Scrolling Tabs #} {% if auction.multi_location %}
Pickup Locations
{# Horizontal scrolling tabs for mobile #}
{% for location in pickup_locations %} {# location content for multi-location auction ONLY here #}
{% if hasChosenLocation == location.pk%} {% endif %} {% if location.description %}

{{ location.description|linebreaksbr }}

{% endif %} {% if not location.pickup_by_mail %} {% if location.users_must_coordinate_pickup %}

You must schedule your pickup time in advance.

{% else %}

Pickup: {{ location.pickup_time }}

{% endif %}
{%if location.has_coordinates %} Get directions {% endif %} {% if hasChosenLocation == location.pk and not location.users_must_coordinate_pickup %} {% include 'auction_calendar_button.html' with location=location second="False" label="Add to calendar" %} {% endif %} {% if view.is_auction_admin %} Edit {% if auction.all_location_count > 1 %} Incoming lot list Outgoing lot list {% endif %} Email {{location.number_of_users}} {% endif %}
{% if location.second_pickup_time %}

You must return on {{ location.second_pickup_time }} to pick up lots from other locations.

{% if hasChosenLocation == location.pk%} {% include 'auction_calendar_button.html' with location=location second="True" label="Add return pickup to calendar" %} {% endif %} {% endif %} {% endif %} {% if location.contact_person %} {% if hasChosenLocation == location.pk or view.is_auction_admin %}
Location Contact

{{location.contact_person.name | default:""}}

{{location.contact_person.email | default:"" | urlize}}

{{location.contact_person.phone_number | default:"" }}

{% endif %} {% endif %}
{% endfor %}
{%endif%} {# end auction.multi_location #} {% endif %} {# end auction.all_location_count #} {# Share Section - Cleaner Design #}
Share This Auction

Please spread the word about this auction — every like and share helps bring in new sellers and bidders!

Copied! Thanks for spreading the word!
{% endblock %}