X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/91117520dbe0336cd5acc91c6d8e23d81141f9df..1e8f7eba9d079cfab82aaea20a214cae4c6f201a:/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..5a264d4 100755 --- a/prawokultury/templates/migdal/entry/publications/entry_detail.html +++ b/prawokultury/templates/migdal/entry/publications/entry_detail.html @@ -1,12 +1,15 @@ {% extends "base.html" %} {% load comments i18n %} {% load fnp_common migdal_tags fnp_share shop_tags %} +{% load url from future %} -{% 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:"DATETIME_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 %}