From 39086b58106ff6181d029e0ef845593605821873 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 14 Jul 2021 09:31:15 -0400 Subject: trading: added trading to toolset --- app/trading/templates/products/snippet.html | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 app/trading/templates/products/snippet.html (limited to 'app/trading/templates/products') diff --git a/app/trading/templates/products/snippet.html b/app/trading/templates/products/snippet.html new file mode 100644 index 0000000..3fc9f6f --- /dev/null +++ b/app/trading/templates/products/snippet.html @@ -0,0 +1,41 @@ +{% load get_image_by_size %} +{% load get_image_width %} +{% with image=object.featured_image %} +
+ +
+ + {{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%} + +
{% if image.caption %}{{image.caption|safe}}{% endif %}{% if image.photo_credit_source %}{%if image.caption %} | {%endif%}image: {% if image.photo_credit_url %}{%endif%}{%endif%} +
+
+ + + + + + + + + + + +
+{% endwith %} -- cgit v1.2.3-70-g09d2