Commit 051df849 authored by Klaus's avatar Klaus

better floruit

parent ebfdabf0
......@@ -586,15 +586,25 @@
<def.floruit class="MCRMetaHistoryDate" heritable="false" notinherit="true">
<floruit inherited="0" type="gnd">
<text xml:lang="de">
<xsl:call-template name="correct_datestring">
<xsl:with-param name="datestr" select="$dateFrom" />
<xsl:with-param name="lang" select="'de'" />
</xsl:call-template>
<xsl:text> - </xsl:text>
<xsl:call-template name="correct_datestring">
<xsl:with-param name="datestr" select="$dateTo" />
<xsl:with-param name="lang" select="'de'" />
</xsl:call-template>
<xsl:choose>
<xsl:when test="$dateFrom = $dateTo">
<xsl:call-template name="correct_datestring">
<xsl:with-param name="datestr" select="$dateFrom" />
<xsl:with-param name="lang" select="'de'" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="correct_datestring">
<xsl:with-param name="datestr" select="$dateFrom" />
<xsl:with-param name="lang" select="'de'" />
</xsl:call-template>
<xsl:text></xsl:text>
<xsl:call-template name="correct_datestring">
<xsl:with-param name="datestr" select="$dateTo" />
<xsl:with-param name="lang" select="'de'" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</text>
<von>
<xsl:call-template name="correct_datestring">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment