X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/91117520dbe0336cd5acc91c6d8e23d81141f9df..HEAD:/prawokultury/templates/migdal/entry/publications/entry_detail.html diff --git a/prawokultury/templates/migdal/entry/publications/entry_detail.html b/prawokultury/templates/migdal/entry/publications/entry_detail.html index 0cae1fa..5ddfbcb 100755 --- a/prawokultury/templates/migdal/entry/publications/entry_detail.html +++ b/prawokultury/templates/migdal/entry/publications/entry_detail.html @@ -3,10 +3,12 @@ {% load fnp_common migdal_tags fnp_share shop_tags %} -{% block "body" %} +{% block body %} {% if not entry.published %}
{% trans "This entry hasn't been published yet." %}
+{% else %} +{% trans "Published at" %} {{ entry.first_published_at|date:"DATE_FORMAT" }}
{% endif %}{% trans "Price" %}: {{ entry.offer.price|floatformat:"-2" }} PLN
-{% if entry.offer_set.all.exists %} -{% order_form_for entry.offer_set.all.0 form %} +{% order_form_for entry.offer form %} {% endif %} +{{ entry.body }} + + {% for inline_html in entry.inline_html %}