From: Guillaume Pellerin Date: Fri, 25 Sep 2015 13:38:06 +0000 (+0200) Subject: add placeholder-audio X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7da5aaaabce2eb41bcc3b0f147914fdea0407d63;p=diggersdigest.git add placeholder-audio --- 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 %}