/[qa]/trunk/pts/www/xsl/pts.xsl
ViewVC logotype

Diff of /trunk/pts/www/xsl/pts.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1928 by zack, Fri Aug 8 07:17:49 2008 UTC revision 1929 by zack, Fri Aug 8 13:46:48 2008 UTC
# Line 45  Line 45 
45  <xsl:template name="mk_lintian_url">  <xsl:template name="mk_lintian_url">
46    <!-- convert maintainer/name to follow lintian.debian.org convention -->    <!-- convert maintainer/name to follow lintian.debian.org convention -->
47    <xsl:variable name="lintian_pattern" select="concat('àáèéëêòöøîìùñ~/()&#34; ', &quot;'&quot;)"/>    <xsl:variable name="lintian_pattern" select="concat('àáèéëêòöøîìùñ~/()&#34; ', &quot;'&quot;)"/>
48    <xsl:variable name="lintian_email" select="translate(//maintainer/email, $lintian_pattern, '_____________________')"/>    <xsl:variable name="lintian_email" select="translate(maintainer/email, $lintian_pattern, '_____________________')"/>
49    
50    <xsl:text>http://lintian.debian.org/reports/maintainer/</xsl:text>    <xsl:text>http://lintian.debian.org/reports/maintainer/</xsl:text>
51    <xsl:value-of select="$lintian_email" />    <xsl:value-of select="$lintian_email" />
# Line 914  other-to-%xx, especially % to %25... For Line 914  other-to-%xx, especially % to %25... For
914        <li>        <li>
915          <xsl:variable name="lintian_url"><xsl:call-template name="mk_lintian_url" /></xsl:variable>          <xsl:variable name="lintian_url"><xsl:call-template name="mk_lintian_url" /></xsl:variable>
916          <a href="http://lintian.debian.org">Lintian</a><xsl:text> </xsl:text>          <a href="http://lintian.debian.org">Lintian</a><xsl:text> </xsl:text>
917          <a href="{$lintian_url}">reported</a> <xsl:text> </xsl:text>          <xsl:text>reported </xsl:text>
918          <xsl:if test="$errors > 0"><xsl:value-of select="$errors" /> error<xsl:if test="$errors>1">s</xsl:if></xsl:if>          <a href="{$lintian_url}">
919          <xsl:if test="$errors > 0 and $warnings > 0"> and </xsl:if>            <xsl:if test="$errors > 0"><xsl:value-of select="$errors" /> error<xsl:if test="$errors>1">s</xsl:if></xsl:if>
920          <xsl:if test="$warnings >0"><xsl:value-of select="$warnings" /> warning<xsl:if test="$warnings>1">s</xsl:if></xsl:if> about            <xsl:if test="$errors > 0 and $warnings > 0"> and </xsl:if>
921          this package. You should make the package <em>lintian clean</em> getting rid of            <xsl:if test="$warnings >0"><xsl:value-of select="$warnings" /> warning<xsl:if test="$warnings>1">s</xsl:if></xsl:if>
922          <xsl:if test="$errors + $warnings = 1">it</xsl:if>          </a>
923            about this package. You should make the package <em>lintian clean</em>
924            getting rid of <xsl:if test="$errors + $warnings = 1">it</xsl:if>
925          <xsl:if test="$errors + $warnings > 1">them</xsl:if>.          <xsl:if test="$errors + $warnings > 1">them</xsl:if>.
926        </li>        </li>
927      </xsl:if>      </xsl:if>

Legend:
Removed from v.1928  
changed lines
  Added in v.1929

  ViewVC Help
Powered by ViewVC 1.1.5