fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'pretty' of github.com:fnp/wolnelektury into pretty
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_searched.html
diff --git
a/wolnelektury/templates/catalogue/book_searched.html
b/wolnelektury/templates/catalogue/book_searched.html
index
935f332
..
8dfa053
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_searched.html
+++ b/
wolnelektury/templates/catalogue/book_searched.html
@@
-8,7
+8,7
@@
<div class="snippets">
{% for hit in hits %}
{% if hit.snippets %}
<div class="snippets">
{% for hit in hits %}
{% if hit.snippets %}
- <div class="snippet-text"><a href="{% url book_text book.slug %}">{{hit.snippets.0|safe}}</a></div>
+ <div class="snippet-text"><a href="{% url book_text book.slug %}
#sect{{hit.section_number}}
">{{hit.snippets.0|safe}}</a></div>
{% else %}
{% if hit.fragment %}
<div class="snippet-text">
{% else %}
{% if hit.fragment %}
<div class="snippet-text">