X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/91117520dbe0336cd5acc91c6d8e23d81141f9df..db08dc752e8d1847b15a99b2a1c21c363d744596:/prawokultury/templates/migdal/entry/publications/entry_detail.html?ds=inline 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 %}
@@ -14,18 +16,20 @@ {% entry_begin entry 1 %}
-{{ entry.body }} - +{% if entry.offer %} +

{% 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 %}