Skip to content

Commit

Permalink
Add member ID to stats output
Browse files Browse the repository at this point in the history
See ukf/ukf-meta#128.
  • Loading branch information
iay committed May 22, 2017
1 parent ecddc59 commit ed6caf9
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions mdx/uk/statistics.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,12 @@

<h2><a name="members">Member Statistics</a></h2>
<p>Number of members: <xsl:value-of select="$memberCount"/></p>
<p>The following table shows the canonical name of each member organisation and
the number of entities belonging to that member.
The canonical name for a member is derived from the member's legal name.
Ownership of an entity is established by the OrganizationName field of an entity exactly
matching the canonical name of the member organisation.
<p>
The following table shows the canonical name of each member organisation,
the Jisc organization ID and the number of entities belonging to that member.
The canonical name for a member is derived from the member's legal name.
Ownership of an entity is established by the OrganizationName field of an entity exactly
matching the canonical name of the member organisation.
</p>
<p>
Many organisations have no entities in the federation.
Expand All @@ -153,6 +154,7 @@
<table border="1" cellspacing="2" cellpadding="4">
<tr>
<th align="left">Member</th>
<th>orgID</th>
<th>Entities</th>
<th>IdPs</th>
<th>SPs</th>
Expand Down Expand Up @@ -1119,6 +1121,18 @@
<xsl:text>)</xsl:text>
</xsl:if>
</td>
<td>
<xsl:choose>
<!-- remove a prefix 'ukforg' if present (currently always the case) -->
<xsl:when test="starts-with(@ID, 'ukforg')">
<xsl:value-of select="substring-after(@ID, 'ukforg')"/>
</xsl:when>
<!-- otherwise just use the whole of the ID -->
<xsl:otherwise>
<xsl:value-of select="@ID"/>
</xsl:otherwise>
</xsl:choose>
</td>
<!-- count total entities -->
<td align="center">
<xsl:choose>
Expand Down

0 comments on commit ed6caf9

Please sign in to comment.