fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
716b8c7
)
nota_red
author
Radek Czajka
<radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 23 Nov 2010 15:06:07 +0000
(16:06 +0100)
committer
Radek Czajka
<radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 23 Nov 2010 15:06:07 +0000
(16:06 +0100)
lib/librarian
patch
|
blob
|
history
wolnelektury/static/css/master.book.css
patch
|
blob
|
history
wolnelektury/static/js/book.js
patch
|
blob
|
history
wolnelektury/templates/catalogue/book_text.html
patch
|
blob
|
history
diff --git
a/lib/librarian
b/lib/librarian
index
4dc60ac
..
ef08e05
160000
(submodule)
--- a/
lib/librarian
+++ b/
lib/librarian
@@
-1
+1
@@
-Subproject commit
4dc60ac382ac861ca6f86e8c95ef0508257a32d3
+Subproject commit
ef08e0561b644913f99401373890c97218ec5b81
diff --git
a/wolnelektury/static/css/master.book.css
b/wolnelektury/static/css/master.book.css
index
aac5d58
..
cbd6bbc
100644
(file)
--- a/
wolnelektury/static/css/master.book.css
+++ b/
wolnelektury/static/css/master.book.css
@@
-80,7
+80,7
@@
img {
}
}
-#toc, #themes {
+#toc, #themes
, #nota_red
{
position: fixed;
left: 0em;
top: 1.5em;
position: fixed;
left: 0em;
top: 1.5em;
diff --git
a/wolnelektury/static/js/book.js
b/wolnelektury/static/js/book.js
index
9960bfa
..
b9ab6b1
100644
(file)
--- a/
wolnelektury/static/js/book.js
+++ b/
wolnelektury/static/js/book.js
@@
-19,6
+19,9
@@
$(function() {
if ($('#toc li').length == 0) {
$('#menu li a[href="#toc"]').remove();
}
if ($('#toc li').length == 0) {
$('#menu li a[href="#toc"]').remove();
}
+ if ($('#nota_red').length == 0) {
+ $('#menu li a[href="#nota_red"]').remove();
+ }
// On page load, scroll to anchor
scrollToAnchor(window.location.hash)
// On page load, scroll to anchor
scrollToAnchor(window.location.hash)
diff --git
a/wolnelektury/templates/catalogue/book_text.html
b/wolnelektury/templates/catalogue/book_text.html
index
d828265
..
a4a319b
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_text.html
+++ b/
wolnelektury/templates/catalogue/book_text.html
@@
-16,6
+16,7
@@
<ul>
<li><a href="#toc">{% trans "Table of contents" %}</a></li>
<li><a href="#themes">{% trans "Themes" %}</a></li>
<ul>
<li><a href="#toc">{% trans "Table of contents" %}</a></li>
<li><a href="#themes">{% trans "Themes" %}</a></li>
+ <li><a href="#nota_red">{% trans "Edit. note" %}</a></li>
</ul>
</div>
<div id="header">
</ul>
</div>
<div id="header">