fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Also a little higher.
[prawokultury.git]
/
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
(executable)
--- 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 %}
{% extends "base.html" %}
{% load comments i18n %}
{% load fnp_common migdal_tags fnp_share shop_tags %}
+{% load url from future %}
{% block "body" %}
{% block "body" %}
@@
-14,18
+15,20
@@
{% entry_begin entry 1 %}
<div class="body">
{% entry_begin entry 1 %}
<div class="body">
-{{ entry.body }}
-
+{% if entry.offer %}
+<p>{% trans "Price" %}: {{ entry.offer.price|floatformat:"-2" }} PLN</p>
-{% if entry.offer_set.all.exists %}
-{% order_form_for entry.offer
_set.all.0
form %}
+{% order_form_for entry.offer form %}
{% endif %}
{% endif %}
+{{ entry.body }}
+
+
{% for inline_html in entry.inline_html %}
{% for inline_html in entry.inline_html %}