Commit b1daa65a authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

img_viewer: prise en compte des @facs avec url http. Fixes #73

parent 3db3c405
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -11,7 +11,14 @@

    <xsl:template match="tei:pb">
        <xsl:variable name="href">
            <xsl:choose>
                <xsl:when test="starts-with(@facs,'http')">
                    <xsl:value-of select="@facs"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="concat($baseuri,$project,'/',$imagesRepository,@facs)"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <a>
            <xsl:attribute name="class">pb img_viewer_link</xsl:attribute>