Skip to content

Commit

Permalink
Explicitly list IdPs that do not have SAML 2 support in the statistic…
Browse files Browse the repository at this point in the history
…s output
  • Loading branch information
Alex Stuart committed Jul 11, 2017
1 parent f62ec76 commit 50d788e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions mdx/uk/statistics.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,30 @@
<p>
IdPs: <xsl:value-of select="$nosaml2.idps.count"/>
</p>
<xsl:if test="$nosaml2.idps.count != 0">
<ul>
<xsl:for-each select="$nosaml2.idps">
<xsl:sort select="descendant::md:OrganizationName"/>
<li>
<xsl:value-of select="@ID"/>
<xsl:text>: </xsl:text>
<xsl:value-of select="descendant::md:OrganizationName"/>
<xsl:text>: </xsl:text>
<xsl:choose>
<xsl:when test="descendant::mdui:DisplayName">
<xsl:value-of select="descendant::mdui:DisplayName"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>(</xsl:text>
<xsl:value-of select="descendant::md:OrganizationDisplayName"/>
<xsl:text>)</xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:apply-templates select="md:Extensions/ukfedlabel:Software" mode="short"/>
</li>
</xsl:for-each>
</ul>
</xsl:if>
<xsl:call-template name="entity.breakdown.by.software">
<xsl:with-param name="entities" select="$nosaml2.idps"/>
</xsl:call-template>
Expand Down

0 comments on commit 50d788e

Please sign in to comment.