Skip to content

Commit a093c06

Browse files
authored
MIR-1337 fix property to control display of real name (#1032)
1 parent 82b9c67 commit a093c06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mir-module/src/main/resources/xsl/layout/mir-common-layout.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<xsl:param name="breadCrumb" />
1919
<xsl:param name="MCR.Metadata.Languages" select="'de'" />
2020
<xsl:param name="mcruser" select="document('user:current')/user"/>
21-
<xsl:param name="MIR.Layout.usermenu.realname.enabled" select="false()"/>
21+
<xsl:param name="MIR.Layout.usermenu.realname.enabled" select="'false'"/>
2222

2323
<xsl:include href="layout/mir-layout-utils.xsl" />
2424
<xsl:include href="resource:xsl/layout/mir-navigation.xsl" />
@@ -64,7 +64,7 @@
6464
<a id="currentUser" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#">
6565
<strong>
6666
<xsl:choose>
67-
<xsl:when test="$MIR.Layout.usermenu.realname.enabled = false()">
67+
<xsl:when test="$MIR.Layout.usermenu.realname.enabled != 'true'">
6868
<xsl:value-of select="$mcruser/@name"/>
6969
</xsl:when>
7070
<xsl:otherwise>

0 commit comments

Comments
 (0)