From 04fb141c77f7bd5cc7c51be41fa091596ee36ea9 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Tue, 8 Sep 2015 11:53:33 +0200 Subject: [PATCH] Add bootstrap popover for cover/vinyl condition --- diggersdigest/templates/shop/product.html | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) 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 }} + + -- 2.39.5