/[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 1886 by hertzog, Fri Jun 6 17:58:29 2008 UTC revision 1887 by hertzog, Fri Jun 13 07:24:41 2008 UTC
# Line 634  other-to-%xx, especially % to %25... For Line 634  other-to-%xx, especially % to %25... For
634    </xsl:if>    </xsl:if>
635  </xsl:template>  </xsl:template>
636    
637  <xsl:template name="patches">  <xsl:template name="ubuntu">
638    <!-- Patches list [FG] -->    <!-- Patches list [FG] -->
639    <xsl:if test="$other/@patches='yes'">    <xsl:if test="$other/@ubuntu='yes'">
640      <tr class="titlerow">      <tr class="titlerow">
641        <td class="titlecell" colspan="2">        <td class="titlecell" colspan="2">
642          Patches          Ubuntu
643      </td></tr>      </td></tr>
644      <tr>      <tr>
645        <td class="contentcell" colspan="2" style="text-align: left">        <td class="contentcell" colspan="2" style="text-align: left">
646          <ul>          <ul>
           <xsl:for-each select="$other/patches/item">  
647              <li>              <li>
648                <a href="{$other/patches/item/@url}">Patch from <xsl:value-of select="$other/patches/item/@distro"/> for version <xsl:value-of select="$other/patches/item/@version"/></a>                      Version: <a href="{$other/ubuntu/@url}"><xsl:value-of select="$other/ubuntu/@version"/></a>
649              </li>              </li>
650            </xsl:for-each>            <xsl:if test="$other/ubuntu/patch">
651            <xsl:if test="$other/bugs/@patch!='0'">              <li>
652                        <a href="{$other/ubuntu/patch/@url}">Patch for version <xsl:value-of select="$other/ubuntu/patch/@version"/></a>
653                </li>
654              </xsl:if>
655              <xsl:if test="$other/ubuntu/bugs">
656              <li>              <li>
657                <xsl:element name="a">                      <a href="{$other/ubuntu/bugs/@url}"><xsl:value-of select="$other/ubuntu/bugs/@count"/> open bugs</a>
                 <xsl:attribute name="href">  
                   <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>  
                   <xsl:call-template name="escape-name">  
                     <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
                   </xsl:call-template>  
                   <xsl:text>&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done</xsl:text>  
                 </xsl:attribute>  
                 Patches from BTS (<xsl:value-of select="$other/bugs/@patch"/>)  
               </xsl:element>  
658              </li>              </li>
659            </xsl:if>            </xsl:if>
660          </ul>          </ul>
# Line 1242  other-to-%xx, especially % to %25... For Line 1236  other-to-%xx, especially % to %25... For
1236      <xsl:call-template name="pts-subscription" />      <xsl:call-template name="pts-subscription" />
1237    </table>    </table>
1238    <table class="lefttable">    <table class="lefttable">
1239      <xsl:call-template name="patches" />      <xsl:call-template name="other-links" />
1240    </table>    </table>
1241    <table class="lefttable">    <table class="lefttable">
1242      <xsl:call-template name="other-links" />      <xsl:call-template name="ubuntu" />
1243    </table>    </table>
1244    </td></tr>    </td></tr>
1245    </table>    </table>

Legend:
Removed from v.1886  
changed lines
  Added in v.1887

  ViewVC Help
Powered by ViewVC 1.1.5