X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6f76645ab55509cc72ce4bb1e645d9287d620935..756585089fb09cd0e25856b55510e69a52112e5f:/wolnelektury/templates/catalogue/book_text.html

diff --git a/wolnelektury/templates/catalogue/book_text.html b/wolnelektury/templates/catalogue/book_text.html
index e8a4979c3..935cdf392 100644
--- a/wolnelektury/templates/catalogue/book_text.html
+++ b/wolnelektury/templates/catalogue/book_text.html
@@ -10,6 +10,10 @@
         {% compressed_css "book" %}
         {% compressed_js "jquery" %}
         {% compressed_js "book" %}
+        <!--[if IE]>
+            {% compressed_js "book_ie" %}
+        <![endif]-->
+
     </head>
     <body>
         <div id="menu">
@@ -21,42 +25,7 @@
             </ul>
         </div>
         <div id="info">
-            <p>
-                {% if book.get_extra_info_value.license %}
-                    Ten utwór jest udostepniony na licencji
-                    <a href="{{ book.get_extra_info_value.license }}">{{ book.get_extra_info_value.license_description }}</a>
-                {% else %}
-                    Ten utwór nie jest chroniony prawem autorskim i znajduje się w domenie
-                    publicznej, co oznacza że możesz go swobodnie wykorzystywać, publikować
-                    i rozpowszechniać. Jeśli utwór opatrzony jest dodatkowymi materiałami
-                    (przypisy, motywy literackie etc.), które podlegają prawu autorskiemu, to
-                    te dodatkowe materiały udostępnione są na licencji
-                    <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons
-                    Uznanie Autorstwa – Na Tych Samych Warunkach 3.0 PL</a>.
-                {% endif %}
-            </p>
-    
-            {% if book.get_extra_info_value.source_name %}
-              <p>Tekst opracowany na podstawie: {{ book.get_extra_info_value.source_name }}</p>
-            {% endif %}
-    
-            {% if book.get_extra_info_value.description %}
-              <p>{{ book.get_extra_info_value.description }}</p>
-            {% endif %}
-
-            {% if book.get_extra_info_value.technical_editors or book.get_extra_info_value.editors %}
-              <p>Opracowanie redakcyjne i przypisy:
-                  {% for name in book.get_extra_info_value.technical_editors|add:book.get_extra_info_value.editors %}{% if not forloop.first %}, {% endif %}
-                      {% person_name name %}{% endfor %}.</p>
-            {% endif %}
-
-
-
-            <xsl:if test="//dc:description" >
-              <p><xsl:value-of select="//dc:description" /></p>
-            </xsl:if>
-    
-            <xsl:call-template name="editors" />
+            {% book_info book %}
         </div>
         <div id="header">
             <div id="logo">
@@ -75,6 +44,7 @@
             </ol>
         </div>
         {{ book.html_file.read|safe }}
+        {{ piwik_tag|safe }}
         <script type="text/javascript">
         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));