Bug 8941 - Make title display properly for NORMARC OPAC detail view
authorMagnus Enger <magnus@enger.priv.no>
Thu, 18 Oct 2012 09:56:47 +0000 (11:56 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Sun, 28 Oct 2012 18:39:44 +0000 (19:39 +0100)
Authors and materialtype were displayed to the right of the title.
This patch simly adds class="title" to the h1 that holds the title.

To test:
- Set marcflavour = NORMARC
- Check a detail view in the OPAC and see that the display is wrong
- Apply the patch
- Check that the detail view now looks good

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl

index 299dfee..371537d 100644 (file)
@@ -60,7 +60,7 @@
 
         <!-- Tittel og ansvarsopplysninger -->
         <xsl:if test="marc:datafield[@tag=245]">
-        <h1>
+        <h1 class="title">
             <xsl:for-each select="marc:datafield[@tag=245]">
                     <xsl:call-template name="subfieldSelect">
                         <xsl:with-param name="codes">a</xsl:with-param>