Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
#318 reviews.xsl
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 6, 2018
1 parent a957338 commit 919b5f1
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions xsl/pm/qa/reviews.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ SOFTWARE.
<html lang="en">
<body>
<section>
<h1>QA Reviews</h1>
<h1>
<xsl:text>QA Reviews</xsl:text>
</h1>
<p>
<xsl:text>This document contains all jobs under QA review.</xsl:text>
</p>
Expand All @@ -37,7 +39,9 @@ SOFTWARE.
</xsl:template>
<xsl:template match="reviews[review]">
<p>
<xsl:text>This is the full list of jobs under QA review.</xsl:text>
<xsl:text>Thare are </xsl:text>
<xsl:value-of select="count(review)"/>
<xsl:text> reviews pending:</xsl:text>
</p>
<table data-sortable="true">
<thead>
Expand All @@ -52,10 +56,16 @@ SOFTWARE.
<xsl:text>Inspector</xsl:text>
</th>
<th>
<xsl:text>Verdict</xsl:text>
<xsl:text>Performer</xsl:text>
</th>
<th>
<xsl:text>Done</xsl:text>
<xsl:text>Cash</xsl:text>
</th>
<th>
<xsl:text>Mins</xsl:text>
</th>
<th>
<xsl:text>Bonus</xsl:text>
</th>
</tr>
</thead>
Expand Down Expand Up @@ -84,12 +94,18 @@ SOFTWARE.
</xsl:call-template>
</td>
<td>
<xsl:value-of select="quality"/>
<xsl:call-template name="user">
<xsl:with-param name="id" select="performer"/>
</xsl:call-template>
</td>
<td>
<xsl:value-of select="cash"/>
</td>
<td>
<xsl:call-template name="date">
<xsl:with-param name="iso" select="done"/>
</xsl:call-template>
<xsl:value-of select="minutes"/>
</td>
<td>
<xsl:value-of select="bonus"/>
</td>
</tr>
</xsl:template>
Expand Down

0 comments on commit 919b5f1

Please sign in to comment.