/[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 1868 by zack, Mon Apr 28 13:37:59 2008 UTC revision 1909 by hertzog, Thu Jun 26 08:01:14 2008 UTC
# Line 37  Line 37 
37    
38  <!-- Those variables controls the todo and problem item concerning  <!-- Those variables controls the todo and problem item concerning
39       standards-version not being up to date -->       standards-version not being up to date -->
40  <xsl:variable name="lastsv" select="'3.7.3'"/>  <xsl:variable name="lastsv" select="'3.8.0'"/>
41  <xsl:variable name="lastmajorsv" select="'3.'"/>  <xsl:variable name="lastmajorsv" select="'3.'"/>
42    
43  <!-- Named templates aka functions -->  <!-- Named templates aka functions -->
# Line 328  other-to-%xx, especially % to %25... For Line 328  other-to-%xx, especially % to %25... For
328            <xsl:text>.png</xsl:text>            <xsl:text>.png</xsl:text>
329          </xsl:attribute>          </xsl:attribute>
330          <xsl:text>graph</xsl:text>          <xsl:text>graph</xsl:text>
331        </xsl:element>)        </xsl:element>
332          <xsl:text>)</xsl:text>
333      </td>      </td>
334      <td class="contentcell">      <td class="contentcell">
335        <xsl:element name="a">        <xsl:element name="a">
# Line 634  other-to-%xx, especially % to %25... For Line 635  other-to-%xx, especially % to %25... For
635    </xsl:if>    </xsl:if>
636  </xsl:template>  </xsl:template>
637    
638  <xsl:template name="patches">  <xsl:template name="ubuntu">
639    <!-- Patches list [FG] -->    <!-- Patches list [FG] -->
640    <xsl:if test="$other/@patches='yes'">    <xsl:if test="$other/@ubuntu='yes'">
641      <tr class="titlerow">      <tr class="titlerow">
642        <td class="titlecell" colspan="2">        <td class="titlecell" colspan="2">
643          Patches          Ubuntu
644      </td></tr>      </td></tr>
645      <tr>      <tr>
646        <td class="contentcell" colspan="2" style="text-align: left">        <td class="contentcell" colspan="2" style="text-align: left">
647          <ul>          <ul>
           <xsl:for-each select="$other/patches/item">  
648              <li>              <li>
649                <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>
650              </li>              </li>
651            </xsl:for-each>            <xsl:if test="$other/ubuntu/patch">
           <xsl:if test="$other/bugs/@patch!='0'">  
652              <li>              <li>
653                <xsl:element name="a">                      <a href="{$other/ubuntu/patch/@url}">Patch for version <xsl:value-of select="$other/ubuntu/patch/@version"/></a>
654                  <xsl:attribute name="href">              </li>
655                    <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>            </xsl:if>
656                    <xsl:call-template name="escape-name">            <xsl:if test="$other/ubuntu/bugs">
657                      <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>              <li>
658                    </xsl:call-template>                      <a href="{$other/ubuntu/bugs/@url}"><xsl:value-of select="$other/ubuntu/bugs/@count"/> open bugs</a>
                   <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>  
659              </li>              </li>
660            </xsl:if>            </xsl:if>
661          </ul>          </ul>
# Line 1242  other-to-%xx, especially % to %25... For Line 1237  other-to-%xx, especially % to %25... For
1237      <xsl:call-template name="pts-subscription" />      <xsl:call-template name="pts-subscription" />
1238    </table>    </table>
1239    <table class="lefttable">    <table class="lefttable">
     <xsl:call-template name="patches" />  
   </table>  
   <table class="lefttable">  
1240      <xsl:call-template name="other-links" />      <xsl:call-template name="other-links" />
1241    </table>    </table>
1242      <table class="lefttable" id="ubuntubox">
1243        <xsl:call-template name="ubuntu" />
1244      </table>
1245    </td></tr>    </td></tr>
1246    </table>    </table>
1247    
# Line 1261  other-to-%xx, especially % to %25... For Line 1256  other-to-%xx, especially % to %25... For
1256        Copyright 2002-2008 Raphaël Hertzog and others.<br/>        Copyright 2002-2008 Raphaël Hertzog and others.<br/>
1257        Report problems to the <a href="http://bugs.debian.org/qa.debian.org"        Report problems to the <a href="http://bugs.debian.org/qa.debian.org"
1258          ><tt>qa.debian.org</tt> pseudopackage</a> in the <a          ><tt>qa.debian.org</tt> pseudopackage</a> in the <a
1259          href="http://bugs.debian.org">Debian <acronym title="Bug Tracking          href="http://bugs.debian.org">Debian <acronym
1260            System">BTS</acronym></a>.<br/>          title="Bug Tracking System">BTS</acronym></a>.<br/>
1261        Last modified : <xsl:value-of select="$date"/>.        Last modified: <xsl:value-of select="$date"/>.
1262      </p>      </p>
1263    </div>    </div>
1264    </div>    </div>

Legend:
Removed from v.1868  
changed lines
  Added in v.1909

  ViewVC Help
Powered by ViewVC 1.1.5