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
70d34bd
..
e9eae95
100755
(executable)
--- a/
migdal/templates/migdal/entry/info/entry_begin.html
+++ b/
migdal/templates/migdal/entry/info/entry_begin.html
@@
-1,6
+1,14
@@
{% load i18n %}
{% load i18n %}
-<h2><a href="{{ object.get_absolute_url }}">{{ object.title }}</a></h2>
+{% load thumbnail %}
+{% if detail %}
+ <h1>{{ object.title }}</h1>
+{% else %}
+ <h2><a href="{{ object.get_absolute_url }}">{{ object.title }}</a></h2>
+{% 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 %}
@@
-15,9
+23,16
@@
{% 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 %}
{% endif %}
+<div class="lead">
{{ object.lead }}
{{ object.lead }}
+</div>