Skip to content

Commit

Permalink
tweak to shipping label display
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 19, 2024
1 parent 2b7cbe0 commit 22ad6bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions auctions/templates/lot_tile_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ <h5>You've already seen all your recommended lots</h5>
<span class="badge bg-dark">{% if lot.distance >= 0 %}{{ lot.distance|floatformat:0 }}{% else %}?{%endif%} miles</span>
{% else %}
{% if request.user.userdata.location in lot.shipping_locations.all %}
<span class="badge bg-light">Ships</span>
<span class="badge bg-light text-black">Ships</span>
{% else %}
{% if lot.other_text %}
<span class="badge bg-light">Ships*</span>
{% if lot.shipping_locations.all %}
<span class="badge bg-light text-black">Ships*</span>
{% else %}
<span class="badge bg-danger">Not available</span>
{%endif%}
Expand Down

0 comments on commit 22ad6bf

Please sign in to comment.