fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cas
[prawokultury.git]
/
migdal
/
templates
/
migdal
/
entry
/
info
/
entry_begin.html
diff --git
a/migdal/templates/migdal/entry/info/entry_begin.html
b/migdal/templates/migdal/entry/info/entry_begin.html
index
dd8de2b
..
e9eae95
100755
(executable)
--- a/
migdal/templates/migdal/entry/info/entry_begin.html
+++ b/
migdal/templates/migdal/entry/info/entry_begin.html
@@
-1,4
+1,5
@@
{% load i18n %}
{% load i18n %}
+{% load thumbnail %}
{% if detail %}
<h1>{{ object.title }}</h1>
{% if detail %}
<h1>{{ object.title }}</h1>
@@
-7,6
+8,7
@@
{% endif %}
{% endif %}
+{% comment %}
<div class="entry-data">
{% if request.LANGUAGE_CODE == 'pl' %}
{% if object.published_en %}
<div class="entry-data">
{% if request.LANGUAGE_CODE == 'pl' %}
{% if object.published_en %}
@@
-21,10
+23,15
@@
{% endlanguage %}
{% endif %}
</div>
{% endlanguage %}
{% endif %}
</div>
+{% endcomment %}
{% if object.image %}
{% if object.image %}
- <img class="entry-picture" src="{{ object.image.url }}" />
+ <img class="entry-picture" src="{% thumbnail object.image "250x300" as thumb %}
+ {{ thumb.url }}
+ {% empty %}
+ {{ object.image.url }}
+ {% endthumbnail %}" />
{% endif %}
<div class="lead">
{{ object.lead }}
{% endif %}
<div class="lead">
{{ object.lead }}