From 0e9f1e9b2b0b0df467bbf9e5d7fe9b1b8a2f0308 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Thu, 30 Jun 2022 15:29:39 -0400 Subject: [PATCH] make content a bit nicer. --- make_post_sell/templates/content.j2 | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/make_post_sell/templates/content.j2 b/make_post_sell/templates/content.j2 index 0480f69..5f16391 100644 --- a/make_post_sell/templates/content.j2 +++ b/make_post_sell/templates/content.j2 @@ -71,32 +71,24 @@ {% endif %} - {% else %} + {% elif product.has_product_file %} File Type
{{ product.get_content_type("product") }}
{% endif %} -
+ {% if product.has_product_file %}
- {% if product.is_ready %} - {% if signed_get_object_url is not none %} ⭳ Download {% endif %} - - {% else %} - -
- Not Ready. - - {% endif %}
+ {% endif %}