/[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 357 by hertzog, Sun Sep 1 17:37:49 2002 UTC revision 1090 by hertzog, Sat Sep 10 17:50:51 2005 UTC
# Line 1  Line 1 
1  <?xml version="1.0" encoding="ISO-8859-1" ?>  <?xml version="1.0" encoding="ISO-8859-1" ?>
2    
3  <!--  <!--
4  # Copyright 2002 Raphaël Hertzog  # Copyright 2002-2003 Raphaël Hertzog
5  # This file is distributed under the terms of the General Public License  # This file is distributed under the terms of the General Public License
6  # version 2 or (at your option) any later version.  # version 2 or (at your option) any later version.
7  -->  -->
8    
9  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
10    
11  <xsl:output encoding="ISO-8859-1" method="html"/>  <xsl:output encoding="UTF-8" method="html"/>
12    
13  <xsl:param name="package"/>  <xsl:param name="package"/>
14  <xsl:param name="dir"/>  <xsl:param name="dir"/>
15  <xsl:param name="date"/>  <xsl:param name="date"/>
16    <xsl:param name="hasoldstable" select="''"/>
17  <xsl:param name="hasstable" select="''"/>  <xsl:param name="hasstable" select="''"/>
18  <xsl:param name="hastesting" select="''"/>  <xsl:param name="hastesting" select="''"/>
19  <xsl:param name="hasunstable" select="''"/>  <xsl:param name="hasunstable" select="''"/>
# Line 20  Line 21 
21  <xsl:param name="hasother" select="''"/>  <xsl:param name="hasother" select="''"/>
22  <xsl:param name="hass-p-u" select="''"/>  <xsl:param name="hass-p-u" select="''"/>
23  <xsl:param name="hast-p-u" select="''"/>  <xsl:param name="hast-p-u" select="''"/>
24    <xsl:param name="hasoldstable-security" select="''"/>
25  <xsl:param name="hasstable-security" select="''"/>  <xsl:param name="hasstable-security" select="''"/>
26  <xsl:param name="hastesting-security" select="''"/>  <xsl:param name="hastesting-security" select="''"/>
27    <xsl:param name="hassecure-testing" select="''"/>
28    <xsl:param name="hasvolatile" select="''"/>
29  <xsl:param name="hasnews" select="''"/>  <xsl:param name="hasnews" select="''"/>
30  <xsl:param name="hasexcuse" select="''"/>  <xsl:param name="hasexcuse" select="''"/>
31    
# Line 29  Line 33 
33    
34  <!-- Those variables controls the todo and problem item concerning  <!-- Those variables controls the todo and problem item concerning
35       standards-version not being up to date -->       standards-version not being up to date -->
36  <xsl:variable name="lastsv" select="'3.5.7'"/>  <xsl:variable name="lastsv" select="'3.6.2'"/>
37  <xsl:variable name="lastmajorsv" select="'3.'"/>  <xsl:variable name="lastmajorsv" select="'3.'"/>
 <!-- More variables -->  
 <xsl:variable name="ptsurl" select="'http://pts.debian.net'"/>  
38    
39  <!-- Named templates aka functions -->  <!-- Named templates aka functions -->
40  <xsl:template name="mirror">  <xsl:template name="mirror">
41    <xsl:choose>    <xsl:text>http://ftp.debian.org/debian</xsl:text>
     <xsl:when test="contains(source/section, 'non-US')">  
       <xsl:text>http://non-us.debian.org/debian-non-US</xsl:text>  
     </xsl:when>  
     <xsl:otherwise>  
       <xsl:text>http://http.us.debian.org/debian</xsl:text>  
     </xsl:otherwise>  
   </xsl:choose>  
42  </xsl:template>  </xsl:template>
43    
44  <xsl:template name="outputitem">  <xsl:template name="outputitem">
# Line 53  Line 48 
48          <xsl:text>[</xsl:text>          <xsl:text>[</xsl:text>
49          <xsl:value-of select="@date"/>          <xsl:value-of select="@date"/>
50          <xsl:text>] </xsl:text>          <xsl:text>] </xsl:text>
51        </xsl:if><a href="{@url}"><xsl:value-of select="text()"/></a></li>        </xsl:if><a href="{@url}">
52          <xsl:value-of select="text()"/></a><xsl:if test="@from">
53            <xsl:text> (</xsl:text>
54            <xsl:value-of select="@from"/>
55            <xsl:text>)</xsl:text></xsl:if></li>
56      </xsl:when>      </xsl:when>
57      <xsl:otherwise>      <xsl:otherwise>
58        <li><xsl:if test="@date">        <li><xsl:if test="@date">
# Line 65  Line 64 
64    </xsl:choose>    </xsl:choose>
65  </xsl:template>  </xsl:template>
66    
67    <!-- Convert + in %2b for URL escaping ... -->
68    <xsl:template name="escape-name">
69      <xsl:param name="text"/>
70      <xsl:if test="contains($text,'+')">
71        <xsl:value-of select="substring-before($text,'+')"/>
72        <xsl:text>%2b</xsl:text>
73        <xsl:call-template name="escape-name">
74        <xsl:with-param name="text"><xsl:value-of select="substring-after($text,'+')"/></xsl:with-param>
75        </xsl:call-template>
76      </xsl:if>
77      <xsl:if test="not(contains($text,'+'))">
78        <xsl:value-of select="$text"/>
79      </xsl:if>
80    </xsl:template>
81    
82    <!-- Strip epoch -->
83    <xsl:template name="strip-epoch">
84      <xsl:param name="version"/>
85      <xsl:if test="contains($version,':')">
86        <xsl:value-of select="substring-after($version,':')"/>
87      </xsl:if>
88      <xsl:if test="not(contains($version,':'))">
89        <xsl:value-of select="$version"/>
90      </xsl:if>
91    </xsl:template>
92    
93    
94  <!-- All the work is done in a single template -->  <!-- All the work is done in a single template -->
95  <xsl:template match="source">  <xsl:template match="source">
96    
97    <!-- Start of html -->    <!-- Start of html -->
98      <xsl:text disable-output-escaping="yes">
99      &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;
100      </xsl:text>
101    <html>    <html>
102    <head>    <head>
103    <meta name="ROBOTS" content="NOFOLLOW"/>    <meta name="ROBOTS" content="NOFOLLOW"/>
104    <link rel="stylesheet" href="../common/pts.css"/>    <link title="Default" rel="stylesheet" href="../common/pts.css"/>
105      <link title="Standard link rendering" rel="alternate stylesheet" href="../common/pts2.css"/>
106    <title>Overview of <xsl:value-of select="$package"/> source package</title>    <title>Overview of <xsl:value-of select="$package"/> source package</title>
107    </head>    </head>
108    <body>    <body>
109    
110    <form onSubmit="window.location.pathname='/'+src.value; return false" style="float: right;">    <form method="get" action="/common/index.html" style="float: right;">
111    Jump to package : <br/>    <!-- this link should make lynx/links happy [FG] -->
112    <input type="text" name="src" value=""/>    <p>Jump to package (<a href="/">home page</a>): <br/>
113      <input type="text" name="src" value=""/></p>
114    </form>    </form>
115    <h1>Overview of <xsl:value-of select="$package"/> source package</h1>    <h1>Overview of
116      <xsl:element name="a">
117        <xsl:attribute name="href">
118          <xsl:text>http://packages.debian.org/src:</xsl:text>
119           <xsl:value-of select="$package"/>
120        </xsl:attribute>
121       <xsl:value-of select="$package"/>
122      </xsl:element>
123      source package</h1>
124    
125    <table class="containertable">    <table class="containertable">
126    <tr class="containerrow" valign="top">    <tr class="containerrow" valign="top">
# Line 104  Line 143 
143    </xsl:if>    </xsl:if>
144    <tr class="normalrow">    <tr class="normalrow">
145    <td class="labelcell">Maintainer</td>    <td class="labelcell">Maintainer</td>
146    <td class="contentcell"><a class="email" href="mailto:{maintainer/email}">    <td class="contentcell">
147    <xsl:value-of select="maintainer/name"/></a></td>    <xsl:element name="a">
148        <xsl:attribute name="href">
149          <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
150          <xsl:call-template name="escape-name">
151            <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
152          </xsl:call-template>
153        </xsl:attribute>
154        <xsl:value-of select="maintainer/name"/>
155      </xsl:element>
156      [<a class="email" href="mailto:{maintainer/email}">mail</a>]
157      </td>
158    </tr>    </tr>
159    <tr class="normalrow">    <tr class="normalrow">
160    <td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s-collaborative-maint">Co-Maintainers</a></td>    <td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s-collaborative-maint">Co-Maintainers</a></td>
161    <td class="contentcell">    <td class="contentcell">
162    <xsl:if test="uploaders">    <xsl:if test="uploaders">
163      <xsl:for-each select="uploaders/item">      <xsl:for-each select="uploaders/item">
164        <a class="email" href="mailto:{email}"><xsl:value-of select="name"/></a><br/>        <a class="email" href="http://qa.debian.org/developer.php?login={email}"><xsl:value-of select="name"/></a> [<a class="email" href="mailto:{email}">mail</a>]<br/>
165      </xsl:for-each>      </xsl:for-each>
166    </xsl:if>    </xsl:if>
167    <xsl:if test="not(uploaders)">    <xsl:if test="not(uploaders)">
# Line 123  Line 172 
172    <td class="labelcell">Standards-Version</td>    <td class="labelcell">Standards-Version</td>
173    <td class="contentcell"><xsl:value-of select="standards-version"/></td>    <td class="contentcell"><xsl:value-of select="standards-version"/></td>
174    </tr>    </tr>
175      <tr class="normalrow">
176      <td class="labelcell">Priority &amp; Section</td>
177      <td class="contentcell"><xsl:value-of select="priority"/> - <xsl:value-of select="section"/></td>
178      </tr>
179      <xsl:if test="architecture!='any' and architecture!='all'">
180      <tr class="normalrow">
181      <td class="labelcell">Architecture</td>
182      <td class="contentcell"><xsl:value-of select="architecture"/></td>
183      </tr>
184      </xsl:if>
185    
186    <tr class="titlerow">    <tr class="titlerow">
187    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
# Line 131  Line 190 
190    <tr class="normalrow">    <tr class="normalrow">
191    <td class="labelcell">All bugs</td>    <td class="labelcell">All bugs</td>
192    <td class="contentcell">    <td class="contentcell">
193    <a href="http://bugs.debian.org/src:{$package}"><xsl:if test="$hasother">    <xsl:element name="a">
194      <xsl:value-of select="$other/bugs/@all"/>      <xsl:attribute name="href">
195    </xsl:if></a>        <xsl:text>http://bugs.debian.org/src:</xsl:text>
196          <xsl:call-template name="escape-name">
197            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
198          </xsl:call-template>
199        </xsl:attribute>
200        <xsl:if test="$hasother">
201          <xsl:value-of select="$other/bugs/@all"/>
202        </xsl:if>
203      </xsl:element>
204    </td>    </td>
205    </tr>    </tr>
206    <tr class="normalrow">    <tr class="normalrow">
207    <td class="labelcell">Release Critical</td>    <td class="labelcell">Release Critical</td>
208    <td class="contentcell">    <td class="contentcell">
209    <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&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"><xsl:if test="$hasother">    <xsl:element name="a">
210      <xsl:value-of select="$other/bugs/@rc"/>      <xsl:attribute name="href">
211    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
212          <xsl:call-template name="escape-name">
213            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
214          </xsl:call-template>
215          <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</xsl:text>
216        </xsl:attribute>
217        <xsl:if test="$hasother">
218          <xsl:value-of select="$other/bugs/@rc"/>
219        </xsl:if>
220      </xsl:element>
221    </td>    </td>
222    </tr>    </tr>
223    <tr class="normalrow">    <tr class="normalrow">
224    <td class="labelcell">Important and Normal</td>    <td class="labelcell">Important and Normal</td>
225    <td class="contentcell">    <td class="contentcell">
226    <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal"><xsl:if test="$hasother">    <xsl:element name="a">
227      <xsl:value-of select="$other/bugs/@normal"/>      <xsl:attribute name="href">
228    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
229          <xsl:call-template name="escape-name">
230            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
231          </xsl:call-template>
232          <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</xsl:text>
233        </xsl:attribute>
234        <xsl:if test="$hasother">
235          <xsl:value-of select="$other/bugs/@normal"/>
236        </xsl:if>
237      </xsl:element>
238    </td>    </td>
239    </tr>    </tr>
240    <tr class="normalrow">    <tr class="normalrow">
241    <td class="labelcell">Minor and Wishlist</td>    <td class="labelcell">Minor and Wishlist</td>
242    <td class="contentcell">    <td class="contentcell">
243    <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist"><xsl:if test="$hasother">    <xsl:element name="a">
244      <xsl:value-of select="$other/bugs/@wishlist"/>      <xsl:attribute name="href">
245    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
246          <xsl:call-template name="escape-name">
247            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
248          </xsl:call-template>
249          <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</xsl:text>
250        </xsl:attribute>
251        <xsl:if test="$hasother">
252          <xsl:value-of select="$other/bugs/@wishlist"/>
253        </xsl:if>
254      </xsl:element>
255    </td>    </td>
256    </tr>    </tr>
257    <tr class="normalrow">    <tr class="normalrow">
258    <td class="labelcell">Fixed and Pending</td>    <td class="labelcell">Fixed and Pending</td>
259    <td class="contentcell">    <td class="contentcell">
260    <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed"><xsl:if test="$hasother">    <xsl:element name="a">
261      <xsl:value-of select="$other/bugs/@fixed"/>      <xsl:attribute name="href">
262    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
263          <xsl:call-template name="escape-name">
264            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
265          </xsl:call-template>
266          <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
267        </xsl:attribute>
268        <xsl:if test="$hasother">
269          <xsl:value-of select="$other/bugs/@fixed"/>
270        </xsl:if>
271      </xsl:element>
272    </td>    </td>
273    </tr>    </tr>
274    
275    <tr class="titlerow">    <tr class="titlerow">
276    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
277    Subcription - <a class="titlelink" href="http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pkg-tracking-system">Package Tracking System</a>    Subscription - <a class="titlelink" href="http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pkg-tracking-system">Package Tracking System</a>
278    </td></tr>    </td></tr>
279    <tr class="normalrow">    <tr class="normalrow">
280    <td class="labelcell">Subscribers count</td>    <td class="labelcell">Subscribers count</td>
# Line 181  Line 284 
284    </tr>    </tr>
285    <tr class="normalrow">    <tr class="normalrow">
286    <td class="contentcell" colspan="2">    <td class="contentcell" colspan="2">
287    <form method="post" action="{$ptsurl}/common/pts.cgi">    <form method="post" action="/cgi-bin/pts.cgi">
288      <input type="hidden" name="package" value="{$package}"/>      <input type="hidden" name="package" value="{$package}"/>
289      <select name="what">      <select name="what">
290        <option value="subscribe">Subscribe</option>        <option value="subscribe">Subscribe</option>
# Line 200  Line 303 
303    </td></tr>    </td></tr>
304    <tr class="normalrow">    <tr class="normalrow">
305    <td class="normalcell" colspan="2" style="text-align: left">    <td class="normalcell" colspan="2" style="text-align: left">
306      <ul>
307    <xsl:for-each select="binary/item">    <xsl:for-each select="binary/item">
308      <xsl:sort select="text()"/>      <xsl:sort select="text()"/>
309      <xsl:variable name="pkg" select="text()"/>      <xsl:variable name="pkg" select="text()"/>
# Line 207  Line 311 
311      <a href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>      <a href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>
312      <span style="font-size: 70%">      <span style="font-size: 70%">
313      (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:      (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:
314    <a title="critical, grave and serious" href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data={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"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/></a>,  
315    <a title="important and normal" href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data={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"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/></a>,        <xsl:element name="a">
316    <a title="wishlist and minor" href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data={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"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/></a>,          <xsl:attribute name="title">critical, grave and serious</xsl:attribute>
317    <a title="pending and fixed" href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data={text()}&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/></a>)          <xsl:attribute name="href">
318              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
319              <xsl:call-template name="escape-name">
320                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
321              </xsl:call-template>
322              <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</xsl:text>
323            </xsl:attribute>
324            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
325          </xsl:element>,
326    
327          <xsl:element name="a">
328            <xsl:attribute name="title">important and normal</xsl:attribute>
329            <xsl:attribute name="href">
330            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
331            <xsl:call-template name="escape-name">
332              <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
333            </xsl:call-template>
334            <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</xsl:text>
335            </xsl:attribute>
336            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
337          </xsl:element>,
338    
339          <xsl:element name="a">
340            <xsl:attribute name="title">wishlist and minor</xsl:attribute>
341            <xsl:attribute name="href">
342              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
343              <xsl:call-template name="escape-name">
344                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
345              </xsl:call-template>
346              <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</xsl:text>
347            </xsl:attribute>
348            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
349          </xsl:element>,
350    
351          <xsl:element name="a">
352            <xsl:attribute name="title">pending and fixed</xsl:attribute>
353            <xsl:attribute name="href">
354              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
355              <xsl:call-template name="escape-name">
356                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
357              </xsl:call-template>
358              <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
359            </xsl:attribute>
360            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
361          </xsl:element>)
362      </span>      </span>
363      </li>      </li>
364    </xsl:for-each>    </xsl:for-each>
365    </td></tr>    </ul></td></tr>
366    
367    <tr class="titlerow">    <tr class="titlerow">
368    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
369    Other available versions    Available versions
370    </td></tr>    </td></tr>
371    <xsl:if test="$hasexperimental">  
372      <!-- oldstable -->
373      <xsl:if test="$hasoldstable">
374    <tr class="normalrow">    <tr class="normalrow">
375    <td class="labelcell">Experimental</td>    <td class="labelcell"><a href="http://www.debian.org/releases/woody/">Oldstable</a></td>
376    <td class="contentcell">    <td class="contentcell">
377    <xsl:value-of select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/oldstable.xml'))/source/version"/>
378      </td>
379      </tr>
380      </xsl:if>
381      <xsl:if test="$hasoldstable-security">
382      <tr class="normalrow">
383      <td class="labelcell"><small>Oldstable Security Updates</small></td>
384      <td class="contentcell">
385      <xsl:value-of select="document(concat('../base/', $dir, '/oldstable-security.xml'))/source/version"/>
386      </td>
387      </tr>
388      </xsl:if>
389    
390      <!-- stable -->
391      <xsl:if test="$hasstable">
392      <tr class="normalrow">
393      <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
394      <td class="contentcell">
395      <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>
396    </td>    </td>
397    </tr>    </tr>
398    </xsl:if>    </xsl:if>
399    <xsl:if test="$hasstable-security">    <xsl:if test="$hasstable-security">
400    <tr class="normalrow">    <tr class="normalrow">
401    <td class="labelcell">Security Updates (stable)</td>    <td class="labelcell"><small>Stable Security Updates</small></td>
402    <td class="contentcell">    <td class="contentcell">
403    <xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>
404    </td>    </td>
405    </tr>    </tr>
406    </xsl:if>    </xsl:if>
407    <xsl:if test="$hastesting-security">    <xsl:if test="$hass-p-u">
408    <tr class="normalrow">    <tr class="normalrow">
409    <td class="labelcell">Security Updates (testing)</td>    <td class="labelcell"><small>Stable Proposed Updates</small></td>
410    <td class="contentcell">    <td class="contentcell">
411    <xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/s-p-u.xml'))/source/version"/>
412    </td>    </td>
413    </tr>    </tr>
414    </xsl:if>    </xsl:if>
415    
416      <!-- testing -->
417    <xsl:if test="$hastesting">    <xsl:if test="$hastesting">
418    <tr class="normalrow">    <tr class="normalrow">
419    <td class="labelcell">Testing</td>    <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>
420    <td class="contentcell">    <td class="contentcell">
421    <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>
422    </td>    </td>
423    </tr>    </tr>
424    </xsl:if>    </xsl:if>
425      <xsl:if test="$hastesting-security">
426      <tr class="normalrow">
427      <td class="labelcell"><small>Testing Security Updates</small></td>
428      <td class="contentcell">
429      <xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>
430      </td>
431      </tr>
432      </xsl:if>
433    <xsl:if test="$hast-p-u">    <xsl:if test="$hast-p-u">
434    <tr class="normalrow">    <tr class="normalrow">
435    <td class="labelcell">Testing Proposed Updates</td>    <td class="labelcell"><small>Testing Proposed Updates</small></td>
436    <td class="contentcell">    <td class="contentcell">
437    <xsl:value-of select="document(concat('../base/', $dir, '/t-p-u.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/t-p-u.xml'))/source/version"/>
438    </td>    </td>
439    </tr>    </tr>
440    </xsl:if>    </xsl:if>
441    <xsl:if test="$hasstable">  
442      <!-- unstable -->
443      <xsl:if test="$hasunstable">
444    <tr class="normalrow">    <tr class="normalrow">
445    <td class="labelcell">Stable</td>    <td class="labelcell">Unstable</td>
446    <td class="contentcell">    <td class="contentcell">
447    <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/unstable.xml'))/source/version"/>
448    </td>    </td>
449    </tr>    </tr>
450    </xsl:if>    </xsl:if>
451    <xsl:if test="$hass-p-u">  
452      <!-- experimental -->
453      <xsl:if test="$hasexperimental">
454    <tr class="normalrow">    <tr class="normalrow">
455    <td class="labelcell">Stable Proposed Updates</td>    <td class="labelcell">Experimental</td>
456    <td class="contentcell">    <td class="contentcell">
457    <xsl:value-of select="document(concat('../base/', $dir, '/s-p-u.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/>
458    </td>    </td>
459    </tr>    </tr>
460    </xsl:if>    </xsl:if>
461    
462      <!-- secure-testing -->
463      <xsl:if test="$hassecure-testing">
464      <tr class="normalrow">
465      <td class="labelcell">Secure testing</td>
466      <td class="contentcell">
467      <xsl:value-of select="document(concat('../base/', $dir, '/secure-testing.xml'))/source/version"/>
468      </td>
469      </tr>
470      </xsl:if>
471    
472      <!-- volatile -->
473      <xsl:if test="$hasvolatile">
474      <tr class="normalrow">
475      <td class="labelcell">Volatile</td>
476      <td class="contentcell">
477      <xsl:value-of select="document(concat('../base/', $dir, '/volatile.xml'))/source/version"/>
478      </td>
479      </tr>
480      </xsl:if>
481    
482      <!-- Patches list [FG] -->
483      <xsl:if test="$other/@patches='yes'">
484        <tr class="titlerow">
485        <td class="titlecell" colspan="2">
486        Patches
487        </td></tr>
488        <tr>
489        <td class="contentcell" colspan="2" style="text-align: left">
490        <ul>
491        <xsl:for-each select="$other/patches/item">
492          <li>
493            <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>
494          </li>
495        </xsl:for-each>
496        <xsl:if test="$other/bugs/@patch!='0'">
497          <li>
498            <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&amp;include=patch&amp;exclude=pending">Patches from BTS (<xsl:value-of select="$other/bugs/@patch"/>)</a>
499          </li>
500        </xsl:if>
501        </ul>
502        </td>
503        </tr>
504      </xsl:if>
505    
506    
507    <tr class="titlerow">    <tr class="titlerow">
508    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
509    Other links    Other links
510    </td></tr>    </td></tr>
511    <tr>    <tr>
512    <td class="contentcell" colspan="2" style="text-align: left">    <td class="contentcell" colspan="2" style="text-align: left">
513      <ul>
514      <li>
515        <xsl:element name="a">
516          <xsl:attribute name="href">
517            <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
518            <xsl:value-of select="directory"/>
519            <xsl:text>/</xsl:text>
520            <xsl:call-template name="escape-name">
521              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
522            </xsl:call-template>
523            <xsl:text>_</xsl:text>
524            <xsl:call-template name="escape-name">
525              <xsl:with-param name="text">
526                <xsl:call-template name="strip-epoch">
527                  <xsl:with-param name="version">
528                    <xsl:value-of select="version"/>
529                  </xsl:with-param>
530                </xsl:call-template>
531              </xsl:with-param>
532            </xsl:call-template>
533            <xsl:text>/changelog</xsl:text>
534          </xsl:attribute>
535          <xsl:text>Changelog</xsl:text>
536        </xsl:element>
537        /
538        <xsl:element name="a">
539          <xsl:attribute name="href">
540            <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
541            <xsl:value-of select="directory"/>
542            <xsl:text>/</xsl:text>
543            <xsl:call-template name="escape-name">
544              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
545            </xsl:call-template>
546            <xsl:text>_</xsl:text>
547            <xsl:call-template name="escape-name">
548              <xsl:with-param name="text">
549                <xsl:call-template name="strip-epoch">
550                  <xsl:with-param name="version">
551                    <xsl:value-of select="version"/>
552                  </xsl:with-param>
553                </xsl:call-template>
554              </xsl:with-param>
555            </xsl:call-template>
556            <xsl:text>/</xsl:text>
557            <xsl:call-template name="escape-name">
558                    <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
559            </xsl:call-template>
560            <xsl:text>.copyright</xsl:text>
561          </xsl:attribute>
562          <xsl:text>Copyright</xsl:text>
563        </xsl:element>
564      </li>
565    <xsl:if test="architecture!='all'">    <xsl:if test="architecture!='all'">
566      <li><a href="http://buildd.debian.org/build.php?pkg={$package}">Buildd logs</a></li>      <li>
567          <xsl:element name="a">
568            <xsl:attribute name="href">
569              <xsl:text>http://buildd.debian.org/build.php?pkg=</xsl:text>
570              <xsl:call-template name="escape-name">
571                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
572              </xsl:call-template>
573            </xsl:attribute>
574            <xsl:text>Buildd logs</xsl:text>
575          </xsl:element>
576        </li>
577    </xsl:if>    </xsl:if>
578    <xsl:if test="$hasunstable">    <!-- DISABLED until ddtp.debian.org is back up
579      <li><a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$package}">Debcheck on unstable</a></li>      <li>
580          <xsl:element name="a">
581            <xsl:attribute name="href">
582              <xsl:text>http://ddtp.debian.org/stats/pdesc/report.cgi?package=</xsl:text>
583              <xsl:call-template name="escape-name">
584                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
585              </xsl:call-template>
586              <xsl:text>&amp;lang=all&amp;type=src-drvbin&amp;subword=0</xsl:text>
587            </xsl:attribute>
588            Description's translations (DDTP)
589          </xsl:element>
590        </li>
591      <xsl:if test="$other/@debconf='yes'">
592        <li>
593          <xsl:element name="a">
594            <xsl:attribute name="href">
595              <xsl:text>http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package=</xsl:text>
596              <xsl:call-template name="escape-name">
597                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
598              </xsl:call-template>
599            </xsl:attribute>
600            Debconf templates's translations (DDTP)
601          </xsl:element>
602        </li>
603    </xsl:if>    </xsl:if>
604    <xsl:if test="$hastesting">    -->
605      <li><a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$package}">Debcheck on testing</a></li>    <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">
606        <li>
607          <xsl:element name="a">
608            <xsl:attribute name="href">
609              <xsl:text>http://qa.debian.org/debcheck.php?dist=unstable&amp;package=</xsl:text>
610              <xsl:call-template name="escape-name">
611                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
612              </xsl:call-template>
613            </xsl:attribute>
614            <xsl:text>Debcheck on unstable</xsl:text>
615          </xsl:element>
616        </li>
617    </xsl:if>    </xsl:if>
618    <xsl:if test="$hasstable">    <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">
619      <li><a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$package}">Debcheck on stable</a></li>      <li>
620          <xsl:element name="a">
621            <xsl:attribute name="href">
622              <xsl:text>http://qa.debian.org/debcheck.php?dist=testing&amp;package=</xsl:text>
623              <xsl:call-template name="escape-name">
624                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
625              </xsl:call-template>
626            </xsl:attribute>
627            <xsl:text>Debcheck on testing</xsl:text>
628          </xsl:element>
629        </li>
630      </xsl:if>
631      <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">
632        <li>
633          <xsl:element name="a">
634            <xsl:attribute name="href">
635              <xsl:text>http://qa.debian.org/debcheck.php?dist=stable&amp;package=</xsl:text>
636              <xsl:call-template name="escape-name">
637                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
638              </xsl:call-template>
639            </xsl:attribute>
640            <xsl:text>Debcheck on stable</xsl:text>
641          </xsl:element>
642        </li>
643    </xsl:if>    </xsl:if>
644      <!-- convert maintainer/name to follow lintian.debian.org convention [FG] -->
645                                  <xsl:variable name="pattern" select="concat('àáèéëêòöøîìùñ-/()&#34; ', &quot;'&quot;)"/>
646      <xsl:variable name="_name" select="translate(maintainer/name, $pattern, '____________________')"/>
647        <li><a href="http://lintian.debian.org/reports/m{$_name}.html#{$package}">Lintian report</a></li>
648      <li>
649        <xsl:element name="a">
650          <xsl:attribute name="href">
651            <xsl:text>http://qa.debian.org/developer.php?popcon=</xsl:text>
652            <xsl:call-template name="escape-name">
653              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
654            </xsl:call-template>
655          </xsl:attribute>
656          <xsl:text>Popcon stats</xsl:text>
657        </xsl:element>
658      </li>
659      </ul>
660    </td>    </td>
661    </tr>    </tr>
662    
# Line 315  Line 677 
677    </td></tr>    </td></tr>
678    <tr class="normalrow">    <tr class="normalrow">
679    <td class="normalcell" colspan="2" style="text-align: left">    <td class="normalcell" colspan="2" style="text-align: left">
680      <ul>
681    <xsl:for-each select="files/item">    <xsl:for-each select="files/item">
682      <li>      <li>
683      <xsl:element name="a">      <xsl:element name="a">
# Line 334  Line 697 
697      </xsl:element>      </xsl:element>
698      </li>      </li>
699    </xsl:for-each>    </xsl:for-each>
700    </td></tr>    </ul></td></tr>
701    
702    </table>    </table>
703    <!-- END LEFT SIDE -->    <!-- END LEFT SIDE -->
# Line 352  Line 715 
715        <li>The package is of priority standard or higher, you should really find some co-maintainers.</li>        <li>The package is of priority standard or higher, you should really find some co-maintainers.</li>
716      </xsl:if>      </xsl:if>
717      <xsl:if test="not(starts-with(standards-version, $lastsv))">      <xsl:if test="not(starts-with(standards-version, $lastsv))">
718        <li>You should update the package to follow the last version of        <li>The package should be updated to follow the last version of
719        Debian Policy (Standards-Version        <a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version
720        <xsl:value-of select="$lastsv"/> instead of        <xsl:value-of select="$lastsv"/> instead of
721        <xsl:value-of select="standards-version"/>).</li>        <xsl:value-of select="standards-version"/>).</li>
722      </xsl:if>      </xsl:if>
# Line 361  Line 724 
724        <xsl:for-each select="$other/todo/item">        <xsl:for-each select="$other/todo/item">
725          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
726        </xsl:for-each>        </xsl:for-each>
727          <!-- new upstream version goes in todo [FG] -->
728          <xsl:if test="$other/@watch='yes' and $other/watch/@new!='0'">
729            <li>A new upstream version was found:
730               (<xsl:value-of select="$other/watch/@new"/>). <a href="{$other/watch/@url}"><xsl:value-of select="$other/watch/@url"/></a></li>
731          </xsl:if>
732          <xsl:if test="$other/bugs/@patch!='0'">
733            <li>The Bug Tracking System contains <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&amp;include=patch&amp;exclude=pending"><xsl:value-of select="$other/bugs/@patch"/> patch(es)</a>, you should include it(them).</li>
734          </xsl:if>
735      </xsl:if>      </xsl:if>
736    </xsl:variable>    </xsl:variable>
737    <xsl:if test="count($todo)>0">    <xsl:if test="count($todo)>0 and string($todo)!=''">
738    <tr class="titlerow">    <tr class="titlerow">
739    <td class="titlecell" style="background-color: blue">    <td class="titlecell" style="background-color: blue">
740    Todo    Todo
741    </td></tr>    </td></tr>
742    <tr class="normalrow">    <tr class="normalrow">
743    <td class="contentcell2"><xsl:copy-of select="$todo"/>    <td class="contentcell2">
744      <ul>
745      <xsl:copy-of select="$todo"/>
746      </ul>
747    </td>    </td>
748    </tr>    </tr>
749    </xsl:if>    </xsl:if>
# Line 378  Line 752 
752    <xsl:variable name="problems">    <xsl:variable name="problems">
753      <xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">      <xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">
754        <li>The package has not yet entered <a        <li>The package has not yet entered <a
755        href="http://ftp-master.debian.org/testing/update_excuses.html#{$package}">testing</a>        href="http://ftp-master.debian.org/testing/update_excuses.html.gz#{$package}">testing</a>
756        even if the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day        even though the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day
757        delay is over.</li>        delay is over.
758          <xsl:element name="a">
759            <xsl:attribute name="href">
760              <xsl:text>http://bjorn.haxx.se/debian/testing.pl?package=</xsl:text>
761              <xsl:call-template name="escape-name">
762                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
763              </xsl:call-template>
764            </xsl:attribute>
765            Check why
766          </xsl:element>
767          .</li>
768      </xsl:if>      </xsl:if>
769      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
770        <li>The package is severly out of date with respect to the Debian        <li>The package is severly out of date with respect to the Debian
# Line 389  Line 773 
773        <xsl:value-of select="standards-version"/>...</li>        <xsl:value-of select="standards-version"/>...</li>
774      </xsl:if>      </xsl:if>
775      <xsl:if test="$hasother">      <xsl:if test="$hasother">
776    
777          <!-- Override disparity handling. [JvW] -->
778          <xsl:if test="$other/@override='yes'">
779            <xsl:for-each select="$other/override/group">
780              <li>There were override disparities found in suite <xsl:value-of
781                  select="@suite"/>:
782                <ul>
783                  <xsl:for-each select="disparity">
784                    <li><xsl:value-of select="text()"/></li>
785                  </xsl:for-each>
786                </ul>
787              </li>
788            </xsl:for-each>
789          </xsl:if>
790    
791          <!-- Wnpp handling. [PvR] -->
792          <xsl:if test="$other/@wnpp='yes'">
793          <li>
794            <xsl:choose>
795              <xsl:when test="$other/wnpp/@type='O'">
796              <span style="font-weight: bold">This package has been orphaned</span>.
797              This means that it does not have a real maintainer at the
798              moment. Please consider adopting this package if you are interested in it.
799              </xsl:when>
800              <xsl:when test="$other/wnpp/@type='ITA'">
801              This package has been orphaned, but someone intends to maintain it.
802              </xsl:when>
803              <xsl:when test="$other/wnpp/@type='RFA'">
804              The current maintainer is looking for someone who can take over
805              maintenance of this package. If you are interested in this package,
806              please consider taking it over. Alternatively you may
807              want to be co-maintainer in order to help the actual maintainer.
808              </xsl:when>
809              <xsl:when test="$other/wnpp/@type='RFH'">
810              The current maintainer is looking for someone who can help with the
811              maintenance of this package. If you are interested in this package,
812              please consider helping out. One way you can help is offer to be a
813              co-maintainer or triage bugs in the bts.
814              </xsl:when>
815              <xsl:when test="$other/wnpp/@type='ITP'">
816              The WNPP database contains an ITP (Intent To Package) entry for
817              this package. This is probably an error, as it has already been
818              packaged.
819              </xsl:when>
820              <xsl:when test="$other/wnpp/@type='RFP'">
821              The WNPP database contains an RFP (Request For Package) entry
822              for this package.  This is probably an error, as it has already
823              been packaged.
824              </xsl:when>
825              <xsl:when test="$other/wnpp/@type='RM'">
826              <span style="font-weight: bold">This package has been requested to be
827              removed</span>.
828              This means that, when this request gets processed by an ftp-master, this
829              package will no longer be in unstable, and will automatically be removed
830              from testing too afterwards. If for some reason you want keep this
831              package in unstable, please discuss so in the bug.
832              </xsl:when>
833              <xsl:otherwise>
834              The WNPP database contains an entry for this package,
835              but it is unclear what kind of entry it is. This is probably an error.
836              </xsl:otherwise>
837            </xsl:choose>
838            <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>
839            Please see bug number <a href="http://bugs.debian.org/{$bn}">
840            #<xsl:value-of select="$bn"/></a> for more information.
841          </li>
842          </xsl:if>
843    
844        <!-- uscan output if present [FG] -->
845        <xsl:if test="$other/@watch='yes'">
846          <li>
847          <xsl:if test="$other/watch/@warning!=''">
848            uscan had problems while searching for a new upstream version: <xsl:value-of select="$other/watch/@warning"/>
849          </xsl:if>
850          </li>
851        </xsl:if>
852    
853          <!-- Misc problems reported -->
854        <xsl:for-each select="$other/problems/item">        <xsl:for-each select="$other/problems/item">
855          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
856        </xsl:for-each>        </xsl:for-each>
857      </xsl:if>      </xsl:if>
858    </xsl:variable>    </xsl:variable>
859    <xsl:if test="count($problems)>0">    <xsl:if test="count($problems)>0 and string($problems)!=''">
860    <tr class="titlerow">    <tr class="titlerow">
861    <td class="titlecell" style="background-color: red">    <td class="titlecell" style="background-color: red">
862    Problems    Problems
863    </td></tr>    </td></tr>
864    <tr class="normalrow">    <tr class="normalrow">
865    <td class="contentcell2"><xsl:copy-of select="$problems"/>    <td class="contentcell2">
866      <ul><xsl:copy-of select="$problems"/></ul>
867    </td>    </td>
868    </tr>    </tr>
869    </xsl:if>    </xsl:if>
# Line 412  Line 875 
875    </td></tr>    </td></tr>
876    <tr class="normalrow">    <tr class="normalrow">
877    <td class="contentcell2" style="text-align: left">    <td class="contentcell2" style="text-align: left">
878      <ul>
879    <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">    <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
880      <xsl:call-template name="outputitem"/>      <xsl:call-template name="outputitem"/>
881    </xsl:for-each>    </xsl:for-each>
882      </ul>
883    </td>    </td>
884    </tr>    </tr>
885    </xsl:if>    </xsl:if>
886    
887    
888    <xsl:variable name="static">    <xsl:variable name="static">
889      <xsl:if test="$hasnews">      <xsl:if test="$hasnews">
# Line 427  Line 892 
892        </xsl:for-each>        </xsl:for-each>
893      </xsl:if>      </xsl:if>
894    </xsl:variable>    </xsl:variable>
895    <xsl:if test="count($static)>0">    <xsl:if test="count($static)>0 and string($static)!=''">
896      <tr class="titlerow">      <tr class="titlerow">
897      <td class="titlecell">      <td class="titlecell">
898      Static Information      Static Information
899      </td></tr>      </td></tr>
900      <tr class="normalrow">      <tr class="normalrow">
901      <td class="contentcell2"><xsl:copy-of select="$static"/></td>      <td class="contentcell2">
902        <ul><xsl:copy-of select="$static"/></ul>
903        </td>
904      </tr>      </tr>
905    </xsl:if>    </xsl:if>
906    
# Line 444  Line 911 
911        </xsl:for-each>        </xsl:for-each>
912      </xsl:if>      </xsl:if>
913    </xsl:variable>    </xsl:variable>
914    <xsl:if test="count($news)>0">    <xsl:if test="count($news)>0 and string($news)!=''">
915      <tr class="titlerow">      <tr class="titlerow">
916      <td class="titlecell">      <td class="titlecell">
917      Latest News      Latest News
918      </td></tr>      </td></tr>
919      <tr class="normalrow">      <tr class="normalrow">
920      <td class="contentcell2"><xsl:copy-of select="$news"/></td>      <td class="contentcell2">
921        <ul><xsl:copy-of select="$news"/></ul>
922        </td>
923      </tr>      </tr>
924    </xsl:if>    </xsl:if>
925    
# Line 459  Line 928 
928    </td></tr>    </td></tr>
929    </table>    </table>
930    <hr/>    <hr/>
931    Debian Package Tracking System - Copyright 2002 Raphaël Hertzog<br/>    Debian Package Tracking System - Copyright 2002-2005 Raphaël Hertzog<br/>
932      Report problems to the <a href="http://bugs.debian.org/qa.debian.org"
933      >qa.debian.org pseudopackage</a><br/>
934    Last modified : <xsl:value-of select="$date"/>    Last modified : <xsl:value-of select="$date"/>
935    </body>    </body>
936    </html>    </html>

Legend:
Removed from v.357  
changed lines
  Added in v.1090

  ViewVC Help
Powered by ViewVC 1.1.5