assets/index.xsl in cobench-0.0.12 vs assets/index.xsl in cobench-0.0.13
- old
+ new
@@ -75,13 +75,30 @@
<xsl:value-of select="$version"/>
</a>
<xsl:text> on </xsl:text>
<xsl:value-of select="cobench/@time"/>
<xsl:text>. </xsl:text>
- <xsl:text>"Pulls" is the total number of pull requests created by the user and merged. </xsl:text>
- <xsl:text>"Issues" is the total number of issues submitted by the user. </xsl:text>
- <xsl:text>"Commits" is the total number of commits authored by the user. </xsl:text>
+ <xsl:text>"Commits" is the total number of </xsl:text>
+ <a href="https://github.com/git-guides/git-commit">
+ <xsl:text>Git commits</xsl:text>
+ </a>
+ <xsl:text> authored by the user. </xsl:text>
+ <xsl:text>"HoC" is the total number of user's hits of code. </xsl:text>
+ <a href="https://www.yegor256.com/2014/11/14/hits-of-code.html">
+ <xsl:text>hits of code</xsl:text>
+ </a>
+ <xsl:text>. </xsl:text>
+ <xsl:text>"Issues" is the total number of issues. </xsl:text>
+ <a href="https://docs.github.com/en/issues">
+ <xsl:text>issues</xsl:text>
+ </a>
+ <xsl:text>. </xsl:text>
+ <xsl:text>"Pulls" is the total number of </xsl:text>
+ <a href="https://docs.github.com/en/pull-requests">
+ <xsl:text>pull requests</xsl:text>
+ </a>
+ <xsl:text> created by the user and merged. </xsl:text>
<xsl:text>"Score" is an arithmetic summary of all other numbers with multipliers: </xsl:text>
<xsl:text>one Pull costs 100 points, </xsl:text>
<xsl:text>one Issue 50 points, </xsl:text>
<xsl:text>one Commit 5 points, </xsl:text>
<xsl:text>one HoC 1 point.</xsl:text>
@@ -132,16 +149,16 @@
</tr>
</xsl:template>
<xsl:template match="m">
<td class="num">
<xsl:choose>
- <xsl:when test="@href">
+ <xsl:when test="@href = ''">
+ <xsl:value-of select="."/>
+ </xsl:when>
+ <xsl:otherwise>
<a href="{@href}">
<xsl:value-of select="."/>
</a>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="."/>
</xsl:otherwise>
</xsl:choose>
</td>
</xsl:template>
<xsl:template match="node()|@*">