Skip to content

Commit

Permalink
#22 xslt
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Nov 20, 2016
1 parent 19666db commit 09f77d8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/xsl/index.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@
<xsl:apply-templates select="domains"/>
<p>
<xsl:text>Total traffic over the last ten days: </xsl:text>
<strong><xsl:value-of select="format-number(sum(domains/domain/usage) div (1024 * 1024 * 1024), '###,###,###')"/></strong>
<xsl:text>Gb.</xsl:text>
<strong>
<xsl:value-of select="format-number(sum(domains/domain/usage) div (1024 * 1024 * 1024), '###,###,###')"/>
<xsl:text>Gb</xsl:text>
</strong>
<xsl:text>.</xsl:text>
</p>
<p>
<xsl:text>It's an open source system.</xsl:text>
Expand Down

0 comments on commit 09f77d8

Please sign in to comment.