From: Radek Czajka Date: Tue, 23 Nov 2010 15:06:07 +0000 (+0100) Subject: nota_red X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/2ec21919225b7132331a5367d026d1e1738a5b89?ds=sidebyside;hp=-c nota_red --- 2ec21919225b7132331a5367d026d1e1738a5b89 diff --git a/lib/librarian b/lib/librarian index 4dc60ac38..ef08e0561 160000 --- 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 aac5d5837..cbd6bbceb 100644 --- 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; diff --git a/wolnelektury/static/js/book.js b/wolnelektury/static/js/book.js index 9960bfa6a..b9ab6b1da 100644 --- 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 ($('#nota_red').length == 0) { + $('#menu li a[href="#nota_red"]').remove(); + } // 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 d8282650a..a4a319ba6 100644 --- a/wolnelektury/templates/catalogue/book_text.html +++ b/wolnelektury/templates/catalogue/book_text.html @@ -16,6 +16,7 @@