padding in epub and pdf
[librarian.git] / librarian / epub / xsltLast.xsl
index 751f97a..ced13ff 100644 (file)
@@ -43,7 +43,7 @@
               </xsl:choose>
           </p>
 
-          <p class="info">Źródło: <a>
+          <!--p class="info">Źródło: <a>
               <xsl:attribute name="href">
                   <xsl:value-of select="//dc:identifier.url" />
               </xsl:attribute>
@@ -51,7 +51,7 @@
                   <xsl:value-of select="wl:person_name(//dc:creator/text())" />, <xsl:value-of select="//dc:title" />
               </xsl:attribute>
               <xsl:value-of select="//dc:identifier.url" />
-          </a></p>
+          </a></p-->
 
           <xsl:if test="//dc:source" >
             <p class="info">Tekst opracowany na podstawie: <xsl:value-of select="//dc:source" /></p>
             </p>
           </xsl:if>
 
-          <div class="info">
+          <!--div class="info">
           <img src="jedenprocent.png" alt="Logo 1%" />
           <div>Przekaż 1% podatku na rozwój Wolnych Lektur.</div>
           <div>Nazwa organizacji: Fundacja Nowoczesna Polska</div>
           <div>KRS 0000070056</div>
-          </div>
+          </div-->
 
           <p class="info">&#160;</p>
           <p class="minor info">
   </xsl:template>
 
   <xsl:template name="editors">
-    <xsl:if test="//dc:contributor.editor[text()]|//dc:contributor.technical_editor[text()]">
+    <xsl:if test="@editors">
         <p class="info">
             <xsl:text>Opracowanie redakcyjne i przypisy: </xsl:text>
-            <xsl:for-each select="//dc:contributor.editor[text()]|//dc:contributor.technical_editor[text() and not(//dc:contributor.editor/text()=text())]">
-                <xsl:sort />
-                <xsl:if test="position() != 1">, </xsl:if>
-                <xsl:apply-templates mode="person" />
-            </xsl:for-each>.
-        </p>
+            <xsl:value-of select="@editors" />.</p>
     </xsl:if>
   </xsl:template>
 
-  <xsl:template match="dc:contributor.editor|dc:contributor.technical_editor">
-      <br /><xsl:apply-templates mode='person' />
-  </xsl:template>
-
   <xsl:template match="text()" mode="person">
     <xsl:value-of select="wl:person_name(.)" />
   </xsl:template>