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