Skip to content

Commit

Permalink
MIR-1234 always display user attributes even when id_orcid is present
Browse files Browse the repository at this point in the history
  • Loading branch information
toKrause authored and kkrebs committed Aug 25, 2023
1 parent 9b79782 commit f68f4b4
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions mir-module/src/main/resources/xsl/user.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -223,25 +223,23 @@
</xsl:choose>
</td>
</tr>
<xsl:if test="attributes[not(attribute[@name='id_orcid'])]">
<tr class="d-flex">
<th class="col-md-3">
<xsl:value-of select="i18n:translate('component.user2.admin.user.attributes')" />
</th>
<td class="col-md-9">
<dl>
<xsl:for-each select="attributes/attribute[@name!='id_orcid']">
<dt>
<xsl:value-of select="@name" />
</dt>
<dd>
<xsl:value-of select="@value" />
</dd>
</xsl:for-each>
</dl>
</td>
</tr>
</xsl:if>
<tr class="d-flex">
<th class="col-md-3">
<xsl:value-of select="i18n:translate('component.user2.admin.user.attributes')" />
</th>
<td class="col-md-9">
<dl>
<xsl:for-each select="attributes/attribute[@name!='id_orcid']">
<dt>
<xsl:value-of select="@name" />
</dt>
<dd>
<xsl:value-of select="@value" />
</dd>
</xsl:for-each>
</dl>
</td>
</tr>
<xsl:if test="attributes/attribute[@name='id_orcid']" >
<tr class="d-flex">
<th class="col-md-3">
Expand Down

0 comments on commit f68f4b4

Please sign in to comment.