From 7da5aaaabce2eb41bcc3b0f147914fdea0407d63 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 25 Sep 2015 15:38:06 +0200 Subject: [PATCH] add placeholder-audio --- app/diggersdigest/settings.py | 4 ++-- app/records/static/css/dig2.css | 6 ++++++ app/templates/shop/product.html | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/diggersdigest/settings.py b/app/diggersdigest/settings.py index b0bc748..f7fdca2 100644 --- a/app/diggersdigest/settings.py +++ b/app/diggersdigest/settings.py @@ -364,9 +364,9 @@ INSTALLED_APPS = ( "mezzanine.twitter", "mezzanine.accounts", "mezzanine.mobile", - "records", - 'paypal.standard.ipn', "payments.multipayments", + 'paypal.standard.ipn', + "records", ) # List of processors used by RequestContext to populate the context. diff --git a/app/records/static/css/dig2.css b/app/records/static/css/dig2.css index 608cdf8..60317c8 100644 --- a/app/records/static/css/dig2.css +++ b/app/records/static/css/dig2.css @@ -72,3 +72,9 @@ hr { .unavailable-msg { font-weight: bold; } + +.placeholder-audio { + display:block; + height:25px; + background: white; +} diff --git a/app/templates/shop/product.html b/app/templates/shop/product.html index 4ddffbc..c53f674 100644 --- a/app/templates/shop/product.html +++ b/app/templates/shop/product.html @@ -141,6 +141,8 @@ $(function () { +{% else %} +
{% endif %} -- 2.39.5