fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
search fixes
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
fragment_promo.html
diff --git
a/wolnelektury/templates/catalogue/fragment_promo.html
b/wolnelektury/templates/catalogue/fragment_promo.html
index
a3b01be
..
cf817ae
100755
(executable)
--- a/
wolnelektury/templates/catalogue/fragment_promo.html
+++ b/
wolnelektury/templates/catalogue/fragment_promo.html
@@
-1,10
+1,8
@@
-{% load removewholetags from catalogue_tags %}
-
{% if fragment %}
<a href="{{ fragment.get_absolute_url }}" class="cite">
<blockquote class="cite-body">
{% if fragment %}
<a href="{{ fragment.get_absolute_url }}" class="cite">
<blockquote class="cite-body">
- {{ fragment.
text|removewholetags:"a"|truncatewords_html:15
|safe }}
+ {{ fragment.
get_short_text
|safe }}
</blockquote>
</blockquote>
- <p class="mono">{{ fragment.book.pretty_title }}</p>
+ <p class="mono
source
">{{ fragment.book.pretty_title }}</p>
</a>
{% endif %}
</a>
{% endif %}