fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
graphics fixes
[prawokultury.git]
/
migdal
/
templates
/
migdal
/
entry
/
entry_promobox.html
diff --git
a/migdal/templates/migdal/entry/entry_promobox.html
b/migdal/templates/migdal/entry/entry_promobox.html
index
9b81f59
..
b1b0449
100755
(executable)
--- a/
migdal/templates/migdal/entry/entry_promobox.html
+++ b/
migdal/templates/migdal/entry/entry_promobox.html
@@
-1,7
+1,7
@@
{% load i18n %}
{% load i18n %}
-<li class="promobox-item
"{% if counter == 1 %} class="active"{% endif %}
+<li class="promobox-item
{% if counter == 1 %} active{% endif %}"
style="
{% if counter != 1 %}display: none;{% endif %}
{% if object.image %}
style="
{% if counter != 1 %}display: none;{% endif %}
{% if object.image %}
@@
-21,7
+21,7
@@
<h2>{{ object.title }}</h2>
<div class="lead">
<h2>{{ object.title }}</h2>
<div class="lead">
-{{ object.lead }}
+{{ object.lead
|striptags|truncatewords:8
}}
</div>
</div>
</div>
</div>
</div>
</div>