X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/89ca0a5b949a96554491cc076bbeb66a93962eb9..d768dc8b7e3188d575e78cd2dac205b3600f65c7:/librarian/epub/xsltLast.xsl

diff --git a/librarian/epub/xsltLast.xsl b/librarian/epub/xsltLast.xsl
index 6e64a0c..e29c5f4 100644
--- a/librarian/epub/xsltLast.xsl
+++ b/librarian/epub/xsltLast.xsl
@@ -8,6 +8,7 @@
   <xsl:output method="html" version="1.0" encoding="utf-8" />
   <xsl:output doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" />
   <xsl:output doctype-public="-//W3C//DTD XHTML 1.1//EN" />
+  <xsl:param name="outputtype"/>
 
   <xsl:template match="utwor">
     <html>
@@ -23,7 +24,7 @@
           <p class="info">
               <xsl:choose>
                   <xsl:when test="//dc:rights.license">
-                      Ten utwór jest udostepniony na licencji
+                      Ten utwór jest udostępniony na licencji
                       <a>
                           <xsl:attribute name="href">
                               <xsl:value-of select="//dc:rights.license" />
@@ -93,6 +94,12 @@
             </p>
           </xsl:if>
 
+          <xsl:variable name="isbnId" select="concat($outputtype, '-id')"/>
+          <xsl:if test=".//meta[@id=$isbnId]">
+            <xsl:variable name="isbn" select=".//meta[@id=$isbnId]"/>
+            <p class="info">ISBN <xsl:value-of select="substring-after($isbn, 'ISBN-')"/></p>
+          </xsl:if>
+
           <p class="info">&#160;</p>
           <p class="minor-info">
               Plik wygenerowany dnia <span id="file_date"><xsl:value-of select="substring(date:date(), 1, 10)" /></span>.