Part of PAZ-996.
authorMike Taylor <mike@indexdata.com>
Fri, 27 Mar 2015 14:34:46 +0000 (14:34 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 27 Mar 2015 14:34:46 +0000 (14:34 +0000)
Add comments for section-heading of different kinds of licences.

etc/xsl/solr-pz2.xsl

index 9c8bed5..e6eaf6e 100644 (file)
@@ -74,6 +74,7 @@
        <xsl:if test="../@name='license_url'">
         <pz:metadata type="license_name">
          <xsl:choose>
+          <!-- Creative Commons licenses -->
           <xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by/')">
            CC By
           </xsl:when>
           <xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nc-nd/')">
            CC By-NC-ND
           </xsl:when>
-          <!-- There is actually no such licence as this, but East London uses it anyway! -->
+
+          <!-- There is actually no such license as this, but East London uses it anyway! -->
           <xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nd-sa/')">
            CC By-ND-SA
           </xsl:when>
+
           <xsl:otherwise>
            [unknown]
           </xsl:otherwise>