X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/91117520dbe0336cd5acc91c6d8e23d81141f9df..fc3d026d2fd25e7bffbb3aa77be78a48f5be7b5a:/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..9632fa6 100755 --- a/prawokultury/templates/migdal/entry/publications/entry_detail.html +++ b/prawokultury/templates/migdal/entry/publications/entry_detail.html @@ -1,9 +1,10 @@ {% 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." %}

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