From: Thomas Fillon Date: Tue, 8 Sep 2015 09:53:33 +0000 (+0200) Subject: Add bootstrap popover for cover/vinyl condition X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=04fb141c77f7bd5cc7c51be41fa091596ee36ea9;p=diggersdigest.git Add bootstrap popover for cover/vinyl condition --- diff --git a/diggersdigest/templates/shop/product.html b/diggersdigest/templates/shop/product.html index 4f2e883..4d40002 100644 --- a/diggersdigest/templates/shop/product.html +++ b/diggersdigest/templates/shop/product.html @@ -34,6 +34,12 @@ $(document).ready(function() { }); }); + + {% endblock %} {% block extra_head %} @@ -104,11 +110,20 @@ $(document).ready(function() { {% endif %}
  • {% trans "Cover:" %} - {{ product.records.first.cover_condition }}
  • + + {{ product.records.first.cover_condition.abbr }} + +
  • {% trans " Vinyl:" %} - {{ product.records.first.vinyl_condition }}
  • - + + {{ product.records.first.vinyl_condition.abbr }} + +