Skip to content

Commit

Permalink
yegor256#465 fixed multiple start/finish tags
Browse files Browse the repository at this point in the history
  • Loading branch information
krzyk authored and krzyk committed Jan 27, 2014
1 parent d000cd3 commit 32ec569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rultor-web/src/main/webapp/xsl/snapshot.xsl
Expand Up @@ -183,7 +183,7 @@
</xsl:when>
<xsl:otherwise>
<xsl:text>margin-right:</xsl:text>
<xsl:value-of select="100 * (1 - start/@at)"/>
<xsl:value-of select="100 * (1 - start[1]/@at)"/>
<xsl:text>%;text-align:right;</xsl:text>
</xsl:otherwise>
</xsl:choose>
Expand All @@ -195,7 +195,7 @@
<span class="step-mark">
<xsl:attribute name="style">
<xsl:text>width:</xsl:text>
<xsl:value-of select="100 * (finish/@at - start/@at)"/>
<xsl:value-of select="100 * (finish[1]/@at - start[1]/@at)"/>
<xsl:text>%;</xsl:text>
<xsl:choose>
<xsl:when test="$left">
Expand Down

0 comments on commit 32ec569

Please sign in to comment.