Skip to content
Snippets Groups Projects
Commit 4a604be0 authored by Max-Ferdinand Zeterberg's avatar Max-Ferdinand Zeterberg
Browse files

fix(commentary type): map commentary types on German abbreviations

parent f1de9e5e
Branches
Tags
1 merge request!37Resolve "Kommentar Typisierung"
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -255,7 +255,13 @@ ...@@ -255,7 +255,13 @@
<li class="note-item"> <li class="note-item">
<xsl:variable name="noteItemId" select="generate-id()"/> <xsl:variable name="noteItemId" select="generate-id()"/>
<label for="{$noteItemId}"> <label for="{$noteItemId}">
<xsl:value-of select="@type"/> <xsl:choose>
<xsl:when test="@type='lx'">Lx.:</xsl:when>
<xsl:when test="@type='gr'">Gr.:</xsl:when>
<xsl:when test="@type='rek'">Rek.:</xsl:when>
<xsl:when test="@type='con'">Inh.:</xsl:when>
<xsl:otherwise>No valid commentary type!</xsl:otherwise>
</xsl:choose>
</label> </label>
<input id="{$noteItemId}" type="checkbox"/> <input id="{$noteItemId}" type="checkbox"/>
<span> <span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment