diff --git a/templates/inventory/car_detail.html b/templates/inventory/car_detail.html index 261dfcd9..f11021cb 100644 --- a/templates/inventory/car_detail.html +++ b/templates/inventory/car_detail.html @@ -1,4 +1,4 @@ - {% extends 'base.html' %} +{% extends 'base.html' %} {% load i18n static custom_filters %} {% block title %}{{ _("Car Details") }}{% endblock %} {% block customCSS %} @@ -17,14 +17,24 @@ {% endblock customCSS %} {% block content %} - {% if not car.ready %} + + {% if not car.ready and not car.status == 'sold' %}