Skip to content

Commit

Permalink
Update mir-admindata-box-static.xsl
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuehlh authored and PaulBorchert committed Sep 6, 2024
1 parent 501763d commit cbf7b51
Showing 1 changed file with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,6 @@
<xsl:with-param select="mycoreobject/service/servflags/servflag[@type='createdby']" name="nodes"/>
<xsl:with-param select="i18n:translate('metaData.createdby')" name="label"/>
</xsl:call-template>
<!-- <xsl:for-each select="mycoreobject/metadata/def.modsContainer/modsContainer/mods:mods/mods:note">
<xsl:variable name="noteType">
<xsl:choose>
<xsl:when test="@type">
<xsl:value-of select="@type"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="'admin'"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="myURI"
select="concat('classification:metadata:0:children:noteTypes:', mcrxsl:regexp($noteType,' ', '_'))"/>
<xsl:variable name="x-access">
<xsl:value-of select="document($myURI)//label[@xml:lang='x-access']/@text"/>
</xsl:variable>
<xsl:variable name="noteLabel">
<xsl:value-of select="document($myURI)//category/label[@xml:lang=$CurrentLang]/@text"/>
</xsl:variable>
<xsl:if test="contains($x-access, 'editor') or contains($x-access, 'admin')">
<xsl:call-template name="printMetaDate">
<xsl:with-param select="." name="nodes"/>
<xsl:with-param select="$noteLabel" name="label"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each> -->
<!--*** Last Modified ************************************* -->
<xsl:call-template name="printMetaDate">
<xsl:with-param select="mycoreobject/service/servdates/servdate[@type='modifydate']" name="nodes"/>
Expand Down

0 comments on commit cbf7b51

Please sign in to comment.