/[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 1938 by zack, Sat Aug 9 01:21:23 2008 UTC revision 1939 by zack, Sat Aug 9 01:57:35 2008 UTC
# Line 336  other-to-%xx, especially % to %25... For Line 336  other-to-%xx, especially % to %25... For
336            <xsl:text>http://people.debian.org/~glandium/bts/</xsl:text>            <xsl:text>http://people.debian.org/~glandium/bts/</xsl:text>
337            <xsl:value-of select="substring($package, 1, 1)"/>            <xsl:value-of select="substring($package, 1, 1)"/>
338            <xsl:text>/</xsl:text>            <xsl:text>/</xsl:text>
339            <xsl:call-template name="escape-name">            <xsl:value-of select="$escaped-package" />
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
340            <xsl:text>.png</xsl:text>            <xsl:text>.png</xsl:text>
341          </xsl:attribute>          </xsl:attribute>
342          <xsl:text>graph</xsl:text>          <xsl:text>graph</xsl:text>
# Line 349  other-to-%xx, especially % to %25... For Line 347  other-to-%xx, especially % to %25... For
347        <xsl:element name="a">        <xsl:element name="a">
348          <xsl:attribute name="href">          <xsl:attribute name="href">
349            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&amp;src=</xsl:text>            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&amp;src=</xsl:text>
350            <xsl:call-template name="escape-name">            <xsl:value-of select="$escaped-package" />
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
351          </xsl:attribute>          </xsl:attribute>
352          <xsl:if test="$hasother">          <xsl:if test="$hasother">
353            <xsl:value-of select="$other/bugs/@all"/>            <xsl:value-of select="$other/bugs/@all"/>
# Line 361  other-to-%xx, especially % to %25... For Line 357  other-to-%xx, especially % to %25... For
357          (<xsl:element name="a">          (<xsl:element name="a">
358            <xsl:attribute name="href">            <xsl:attribute name="href">
359              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=yes&amp;src=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=yes&amp;src=</xsl:text>
360              <xsl:call-template name="escape-name">              <xsl:value-of select="$escaped-package" />
               <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
             </xsl:call-template>  
361            </xsl:attribute>            </xsl:attribute>
362            <xsl:value-of select="$other/bugs/@all_m"/>            <xsl:value-of select="$other/bugs/@all_m"/>
363          </xsl:element>)          </xsl:element>)
# Line 376  other-to-%xx, especially % to %25... For Line 370  other-to-%xx, especially % to %25... For
370        <xsl:element name="a">        <xsl:element name="a">
371          <xsl:attribute name="href">          <xsl:attribute name="href">
372            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
373            <xsl:call-template name="escape-name">            <xsl:value-of select="$escaped-package" />
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
374            <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious&amp;repeatmerged=no</xsl:text>            <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious&amp;repeatmerged=no</xsl:text>
375          </xsl:attribute>          </xsl:attribute>
376          <xsl:if test="$hasother">          <xsl:if test="$hasother">
# Line 389  other-to-%xx, especially % to %25... For Line 381  other-to-%xx, especially % to %25... For
381          (<xsl:element name="a">          (<xsl:element name="a">
382            <xsl:attribute name="href">            <xsl:attribute name="href">
383              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
384              <xsl:call-template name="escape-name">              <xsl:value-of select="$escaped-package" />
               <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
             </xsl:call-template>  
385              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious&amp;repeatmerged=yes</xsl:text>              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious&amp;repeatmerged=yes</xsl:text>
386            </xsl:attribute>            </xsl:attribute>
387            <xsl:value-of select="$other/bugs/@rc_m"/>            <xsl:value-of select="$other/bugs/@rc_m"/>
# Line 405  other-to-%xx, especially % to %25... For Line 395  other-to-%xx, especially % to %25... For
395        <xsl:element name="a">        <xsl:element name="a">
396          <xsl:attribute name="href">          <xsl:attribute name="href">
397            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
398            <xsl:call-template name="escape-name">            <xsl:value-of select="$escaped-package" />
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
399            <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal&amp;repeatmerged=no</xsl:text>            <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal&amp;repeatmerged=no</xsl:text>
400          </xsl:attribute>          </xsl:attribute>
401          <xsl:if test="$hasother">          <xsl:if test="$hasother">
# Line 418  other-to-%xx, especially % to %25... For Line 406  other-to-%xx, especially % to %25... For
406          (<xsl:element name="a">          (<xsl:element name="a">
407            <xsl:attribute name="href">            <xsl:attribute name="href">
408              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
409              <xsl:call-template name="escape-name">              <xsl:value-of select="$escaped-package" />
               <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
             </xsl:call-template>  
410              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal&amp;repeatmerged=yes</xsl:text>              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal&amp;repeatmerged=yes</xsl:text>
411            </xsl:attribute>            </xsl:attribute>
412            <xsl:value-of select="$other/bugs/@normal_m"/>            <xsl:value-of select="$other/bugs/@normal_m"/>
# Line 434  other-to-%xx, especially % to %25... For Line 420  other-to-%xx, especially % to %25... For
420        <xsl:element name="a">        <xsl:element name="a">
421          <xsl:attribute name="href">          <xsl:attribute name="href">
422            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
423            <xsl:call-template name="escape-name">            <xsl:value-of select="$escaped-package" />
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
424            <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist&amp;repeatmerged=no</xsl:text>            <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist&amp;repeatmerged=no</xsl:text>
425          </xsl:attribute>          </xsl:attribute>
426          <xsl:if test="$hasother">          <xsl:if test="$hasother">
# Line 447  other-to-%xx, especially % to %25... For Line 431  other-to-%xx, especially % to %25... For
431          (<xsl:element name="a">          (<xsl:element name="a">
432            <xsl:attribute name="href">            <xsl:attribute name="href">
433              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
434              <xsl:call-template name="escape-name">              <xsl:value-of select="$escaped-package" />
               <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
             </xsl:call-template>  
435              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist&amp;repeatmerged=yes</xsl:text>              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist&amp;repeatmerged=yes</xsl:text>
436            </xsl:attribute>            </xsl:attribute>
437            <xsl:value-of select="$other/bugs/@wishlist_m"/>            <xsl:value-of select="$other/bugs/@wishlist_m"/>
# Line 463  other-to-%xx, especially % to %25... For Line 445  other-to-%xx, especially % to %25... For
445        <xsl:element name="a">        <xsl:element name="a">
446          <xsl:attribute name="href">          <xsl:attribute name="href">
447            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
448            <xsl:call-template name="escape-name">            <xsl:value-of select="$escaped-package" />
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
449            <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=no</xsl:text>            <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=no</xsl:text>
450          </xsl:attribute>          </xsl:attribute>
451          <xsl:if test="$hasother">          <xsl:if test="$hasother">
# Line 476  other-to-%xx, especially % to %25... For Line 456  other-to-%xx, especially % to %25... For
456          (<xsl:element name="a">          (<xsl:element name="a">
457            <xsl:attribute name="href">            <xsl:attribute name="href">
458              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
459              <xsl:call-template name="escape-name">              <xsl:value-of select="$escaped-package" />
               <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
             </xsl:call-template>  
460              <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=yes</xsl:text>              <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=yes</xsl:text>
461            </xsl:attribute>            </xsl:attribute>
462            <xsl:value-of select="$other/bugs/@fixed_m"/>            <xsl:value-of select="$other/bugs/@fixed_m"/>
463          </xsl:element>)          </xsl:element>)
464        </xsl:if>        </xsl:if>
   
465      </td>      </td>
466    </tr>    </tr>
467      <xsl:if test="$other/bugs/@gift > 0">
468        <tr class="normalrow" id="bugs_gift">
469          <td class="labelcell"><span class="indented"><a
470                href="http://wiki.debian.org/qa.debian.org/GiftTag">Gift</a>
471              bugs</span></td>
472          <td class="contentcell">
473            <xsl:element name="a">
474              <xsl:attribute name="href">
475                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
476                <xsl:value-of select="$escaped-package" />
477                <xsl:text>&amp;users=debian-qa@lists.debian.org;tag=gift</xsl:text>
478              </xsl:attribute>
479              <xsl:value-of select="$other/bugs/@gift" />
480            </xsl:element>
481          </td>
482        </tr>
483      </xsl:if>
484  </xsl:template>  </xsl:template>
485    
486  <xsl:template name="pts-subscription">  <xsl:template name="pts-subscription">
# Line 1032  other-to-%xx, especially % to %25... For Line 1026  other-to-%xx, especially % to %25... For
1026          </xsl:for-each>          </xsl:for-each>
1027        </xsl:if>        </xsl:if>
1028    
1029          <xsl:if test="$other/bugs/@help > 0"> <!-- mention bugs tagged "help" -->
1030            <li>
1031              The <acronym title="Bug Tracking System">BTS</acronym> contains
1032              <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=help;src={$package}">
1033                <xsl:value-of select="$other/bugs/@help" /> bug<xsl:if test="$other/bugs/@help > 1">s</xsl:if>
1034              </a>
1035              tagged <a href="http://www.debian.org/Bugs/Developer#tags"><tt>help</tt></a>,
1036              please consider helping the maintainer in dealing with
1037              <xsl:choose>
1038                <xsl:when test="$other/bugs/@help = 1">it.</xsl:when>
1039                <xsl:when test="$other/bugs/@help > 1">them.</xsl:when>
1040              </xsl:choose>
1041            </li>
1042          </xsl:if>
1043    
1044        <!-- Wnpp handling. [PvR] -->        <!-- Wnpp handling. [PvR] -->
1045        <xsl:if test="$other/@wnpp='yes'">        <xsl:if test="$other/@wnpp='yes'">
1046          <li>          <li>

Legend:
Removed from v.1938  
changed lines
  Added in v.1939

  ViewVC Help
Powered by ViewVC 1.1.5