Bug 34020: (QA follow-up) Indentation fix

The middle 'if' block was indented a level deeper than expected.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Martin Renvoize 2023-10-18 14:25:08 +01:00 committed by Tomas Cohen Arazi
parent d8420e42b7
commit 328af73a94
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 32 additions and 32 deletions

View file

@ -287,23 +287,23 @@
<xsl:value-of select="current()"/>
</span>
</xsl:if>
<xsl:if test="@code='b'">
<span property="rda264_name" typeof="Organization">
<span property="name" class="rda264_name">
<xsl:choose>
<xsl:when test="$url='1'">
<a>
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute>
<xsl:value-of select="current()"/>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="current()"/>
</xsl:otherwise>
</xsl:choose>
</span>
<xsl:if test="@code='b'">
<span property="rda264_name" typeof="Organization">
<span property="name" class="rda264_name">
<xsl:choose>
<xsl:when test="$url='1'">
<a>
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute>
<xsl:value-of select="current()"/>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="current()"/>
</xsl:otherwise>
</xsl:choose>
</span>
</xsl:if>
</span>
</xsl:if>
<xsl:if test="@code='c'">
<span property="date" class="rda264_date">
<xsl:call-template name="chopPunctuation">

View file

@ -285,23 +285,23 @@
<xsl:value-of select="current()"/>
</span>
</xsl:if>
<xsl:if test="@code='b'">
<span property="rda264_name" typeof="Organization">
<span property="name" class="rda264_name">
<xsl:choose>
<xsl:when test="$url='1'">
<a>
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute>
<xsl:value-of select="current()"/>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="current()"/>
</xsl:otherwise>
</xsl:choose>
</span>
<xsl:if test="@code='b'">
<span property="rda264_name" typeof="Organization">
<span property="name" class="rda264_name">
<xsl:choose>
<xsl:when test="$url='1'">
<a>
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute>
<xsl:value-of select="current()"/>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="current()"/>
</xsl:otherwise>
</xsl:choose>
</span>
</xsl:if>
</span>
</xsl:if>
<xsl:if test="@code='c'">
<span property="date" class="rda264_date">
<xsl:call-template name="chopPunctuation">