fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cite: allow shifting and cites without books.
[wolnelektury.git]
/
apps
/
social
/
templates
/
social
/
cite_promo.html
diff --git
a/apps/social/templates/social/cite_promo.html
b/apps/social/templates/social/cite_promo.html
index
0554d23
..
c3a73e8
100755
(executable)
--- a/
apps/social/templates/social/cite_promo.html
+++ b/
apps/social/templates/social/cite_promo.html
@@
-8,7
+8,9
@@
<blockquote class="cite-body">
<span>{{ cite.text|linebreaksbr|safe }}</span>
</blockquote>
+ {% if cite.book %}
<p class="source mono"><span>{{ cite.book.pretty_title }}</span></p>
+ {% endif %}
</a>
{% else %}
{% if fallback %}