/[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 572 by hertzog, Fri May 9 22:02:26 2003 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  -->  -->
# Line 29  Line 29 
29    
30  <!-- Those variables controls the todo and problem item concerning  <!-- Those variables controls the todo and problem item concerning
31       standards-version not being up to date -->       standards-version not being up to date -->
32  <xsl:variable name="lastsv" select="'3.5.7'"/>  <xsl:variable name="lastsv" select="'3.5.9'"/>
33  <xsl:variable name="lastmajorsv" select="'3.'"/>  <xsl:variable name="lastmajorsv" select="'3.'"/>
 <!-- More variables -->  
 <xsl:variable name="ptsurl" select="'http://pts.debian.net'"/>  
34    
35  <!-- Named templates aka functions -->  <!-- Named templates aka functions -->
36  <xsl:template name="mirror">  <xsl:template name="mirror">
# Line 65  Line 63 
63    </xsl:choose>    </xsl:choose>
64  </xsl:template>  </xsl:template>
65    
66    <!-- Convert + in %2b for URL escaping ... -->
67    <xsl:template name="escape-name">
68      <xsl:param name="text"/>
69      <xsl:if test="contains($text,'+')">
70        <xsl:value-of select="substring-before($text,'+')"/>
71        <xsl:text>%2b</xsl:text>
72        <xsl:call-template name="escape-name">
73        <xsl:with-param name="text"><xsl:value-of select="substring-after($text,'+')"/></xsl:with-param>
74        </xsl:call-template>
75      </xsl:if>
76      <xsl:if test="not(contains($text,'+'))">
77        <xsl:value-of select="$text"/>
78      </xsl:if>
79    </xsl:template>
80    
81    
82  <!-- All the work is done in a single template -->  <!-- All the work is done in a single template -->
83  <xsl:template match="source">  <xsl:template match="source">
84    
# Line 72  Line 86 
86    <html>    <html>
87    <head>    <head>
88    <meta name="ROBOTS" content="NOFOLLOW"/>    <meta name="ROBOTS" content="NOFOLLOW"/>
89    <link rel="stylesheet" href="../common/pts.css"/>    <link title="Default" rel="stylesheet" href="../common/pts.css"/>
90      <link title="Standard link rendering" rel="alternate stylesheet" href="../common/pts2.css"/>
91    <title>Overview of <xsl:value-of select="$package"/> source package</title>    <title>Overview of <xsl:value-of select="$package"/> source package</title>
92    </head>    </head>
93    <body>    <body>
94    
95    <form onSubmit="window.location.pathname='/'+src.value; return false" style="float: right;">    <form method="get" action="/common/index.html" style="float: right;">
96    Jump to package : <br/>    Jump to package : <br/>
97    <input type="text" name="src" value=""/>    <input type="text" name="src" value=""/>
98    </form>    </form>
# Line 104  Line 119 
119    </xsl:if>    </xsl:if>
120    <tr class="normalrow">    <tr class="normalrow">
121    <td class="labelcell">Maintainer</td>    <td class="labelcell">Maintainer</td>
122    <td class="contentcell"><a class="email" href="mailto:{maintainer/email}">    <td class="contentcell"><a class="email" href="http://qa.debian.org/developer.php?login={maintainer/email}">
123    <xsl:value-of select="maintainer/name"/></a></td>    <xsl:value-of select="maintainer/name"/></a> [<a class="email" href="mailto:{maintainer/email}">mail</a>]</td>
124    </tr>    </tr>
125    <tr class="normalrow">    <tr class="normalrow">
126    <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>
127    <td class="contentcell">    <td class="contentcell">
128    <xsl:if test="uploaders">    <xsl:if test="uploaders">
129      <xsl:for-each select="uploaders/item">      <xsl:for-each select="uploaders/item">
130        <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/>
131      </xsl:for-each>      </xsl:for-each>
132    </xsl:if>    </xsl:if>
133    <xsl:if test="not(uploaders)">    <xsl:if test="not(uploaders)">
# Line 123  Line 138 
138    <td class="labelcell">Standards-Version</td>    <td class="labelcell">Standards-Version</td>
139    <td class="contentcell"><xsl:value-of select="standards-version"/></td>    <td class="contentcell"><xsl:value-of select="standards-version"/></td>
140    </tr>    </tr>
141      <xsl:if test="architecture!='any' and architecture!='all'">
142      <tr class="normalrow">
143      <td class="labelcell">Architecture</td>
144      <td class="contentcell"><xsl:value-of select="architecture"/></td>
145      </tr>
146      </xsl:if>
147    
148    <tr class="titlerow">    <tr class="titlerow">
149    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
# Line 139  Line 160 
160    <tr class="normalrow">    <tr class="normalrow">
161    <td class="labelcell">Release Critical</td>    <td class="labelcell">Release Critical</td>
162    <td class="contentcell">    <td class="contentcell">
163    <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">
164      <xsl:value-of select="$other/bugs/@rc"/>      <xsl:attribute name="href">
165    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
166          <xsl:call-template name="escape-name">
167            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
168          </xsl:call-template>
169          <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>
170        </xsl:attribute>
171        <xsl:if test="$hasother">
172          <xsl:value-of select="$other/bugs/@rc"/>
173        </xsl:if>
174      </xsl:element>
175    </td>    </td>
176    </tr>    </tr>
177    <tr class="normalrow">    <tr class="normalrow">
178    <td class="labelcell">Important and Normal</td>    <td class="labelcell">Important and Normal</td>
179    <td class="contentcell">    <td class="contentcell">
180    <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">
181      <xsl:value-of select="$other/bugs/@normal"/>      <xsl:attribute name="href">
182    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
183          <xsl:call-template name="escape-name">
184            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
185          </xsl:call-template>
186          <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>
187        </xsl:attribute>
188        <xsl:if test="$hasother">
189          <xsl:value-of select="$other/bugs/@normal"/>
190        </xsl:if>
191      </xsl:element>
192    </td>    </td>
193    </tr>    </tr>
194    <tr class="normalrow">    <tr class="normalrow">
195    <td class="labelcell">Minor and Wishlist</td>    <td class="labelcell">Minor and Wishlist</td>
196    <td class="contentcell">    <td class="contentcell">
197    <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">
198      <xsl:value-of select="$other/bugs/@wishlist"/>      <xsl:attribute name="href">
199    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
200          <xsl:call-template name="escape-name">
201            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
202          </xsl:call-template>
203          <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>
204        </xsl:attribute>
205        <xsl:if test="$hasother">
206          <xsl:value-of select="$other/bugs/@wishlist"/>
207        </xsl:if>
208      </xsl:element>
209    </td>    </td>
210    </tr>    </tr>
211    <tr class="normalrow">    <tr class="normalrow">
212    <td class="labelcell">Fixed and Pending</td>    <td class="labelcell">Fixed and Pending</td>
213    <td class="contentcell">    <td class="contentcell">
214    <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">
215      <xsl:value-of select="$other/bugs/@fixed"/>      <xsl:attribute name="href">
216    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
217          <xsl:call-template name="escape-name">
218            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
219          </xsl:call-template>
220          <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
221        </xsl:attribute>
222        <xsl:if test="$hasother">
223          <xsl:value-of select="$other/bugs/@fixed"/>
224        </xsl:if>
225      </xsl:element>
226    </td>    </td>
227    </tr>    </tr>
228    
229    <tr class="titlerow">    <tr class="titlerow">
230    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
231    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>
232    </td></tr>    </td></tr>
233    <tr class="normalrow">    <tr class="normalrow">
234    <td class="labelcell">Subscribers count</td>    <td class="labelcell">Subscribers count</td>
# Line 181  Line 238 
238    </tr>    </tr>
239    <tr class="normalrow">    <tr class="normalrow">
240    <td class="contentcell" colspan="2">    <td class="contentcell" colspan="2">
241    <form method="post" action="{$ptsurl}/common/pts.cgi">    <form method="post" action="/cgi-bin/pts.cgi">
242      <input type="hidden" name="package" value="{$package}"/>      <input type="hidden" name="package" value="{$package}"/>
243      <select name="what">      <select name="what">
244        <option value="subscribe">Subscribe</option>        <option value="subscribe">Subscribe</option>
# Line 207  Line 264 
264      <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>
265      <span style="font-size: 70%">      <span style="font-size: 70%">
266      (<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>:
267    <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>,  
268    <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">
269    <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>
270    <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">
271              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
272              <xsl:call-template name="escape-name">
273                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
274              </xsl:call-template>
275              <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>
276            </xsl:attribute>
277            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
278          </xsl:element>,
279    
280          <xsl:element name="a">
281            <xsl:attribute name="title">important and normal</xsl:attribute>
282            <xsl:attribute name="href">
283            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
284            <xsl:call-template name="escape-name">
285              <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
286            </xsl:call-template>
287            <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>
288            </xsl:attribute>
289            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
290          </xsl:element>,
291    
292          <xsl:element name="a">
293            <xsl:attribute name="title">wishlist and minor</xsl:attribute>
294            <xsl:attribute name="href">
295              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
296              <xsl:call-template name="escape-name">
297                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
298              </xsl:call-template>
299              <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>
300            </xsl:attribute>
301            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
302          </xsl:element>,
303    
304          <xsl:element name="a">
305            <xsl:attribute name="title">pending and fixed</xsl:attribute>
306            <xsl:attribute name="href">
307              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
308              <xsl:call-template name="escape-name">
309                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
310              </xsl:call-template>
311              <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
312            </xsl:attribute>
313            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
314          </xsl:element>)
315      </span>      </span>
316      </li>      </li>
317    </xsl:for-each>    </xsl:for-each>
# Line 246  Line 347 
347    </xsl:if>    </xsl:if>
348    <xsl:if test="$hastesting">    <xsl:if test="$hastesting">
349    <tr class="normalrow">    <tr class="normalrow">
350    <td class="labelcell">Testing</td>    <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>
351    <td class="contentcell">    <td class="contentcell">
352    <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>
353    </td>    </td>
# Line 262  Line 363 
363    </xsl:if>    </xsl:if>
364    <xsl:if test="$hasstable">    <xsl:if test="$hasstable">
365    <tr class="normalrow">    <tr class="normalrow">
366    <td class="labelcell">Stable</td>    <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
367    <td class="contentcell">    <td class="contentcell">
368    <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>
369    </td>    </td>
# Line 286  Line 387 
387    <xsl:if test="architecture!='all'">    <xsl:if test="architecture!='all'">
388      <li><a href="http://buildd.debian.org/build.php?pkg={$package}">Buildd logs</a></li>      <li><a href="http://buildd.debian.org/build.php?pkg={$package}">Buildd logs</a></li>
389    </xsl:if>    </xsl:if>
390    <xsl:if test="$hasunstable">      <li><a href="http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=pdesc&amp;package={$package}">Description's translations (DDTP)</a></li>
391      <xsl:if test="$other/@debconf='yes'">
392        <li><a href="http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package={$package}">Debconf templates's translations (DDTP)</a></li>
393      </xsl:if>
394      <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">
395      <li><a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$package}">Debcheck on unstable</a></li>      <li><a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$package}">Debcheck on unstable</a></li>
396    </xsl:if>    </xsl:if>
397    <xsl:if test="$hastesting">    <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">
398      <li><a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$package}">Debcheck on testing</a></li>      <li><a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$package}">Debcheck on testing</a></li>
399    </xsl:if>    </xsl:if>
400    <xsl:if test="$hasstable">    <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">
401      <li><a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$package}">Debcheck on stable</a></li>      <li><a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$package}">Debcheck on stable</a></li>
402    </xsl:if>    </xsl:if>
403    </td>    </td>
# Line 352  Line 457 
457        <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>
458      </xsl:if>      </xsl:if>
459      <xsl:if test="not(starts-with(standards-version, $lastsv))">      <xsl:if test="not(starts-with(standards-version, $lastsv))">
460        <li>You should update the package to follow the last version of        <li>The package should be updated to follow the last version of
461        Debian Policy (Standards-Version        <a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version
462        <xsl:value-of select="$lastsv"/> instead of        <xsl:value-of select="$lastsv"/> instead of
463        <xsl:value-of select="standards-version"/>).</li>        <xsl:value-of select="standards-version"/>).</li>
464      </xsl:if>      </xsl:if>
# Line 363  Line 468 
468        </xsl:for-each>        </xsl:for-each>
469      </xsl:if>      </xsl:if>
470    </xsl:variable>    </xsl:variable>
471    <xsl:if test="count($todo)>0">    <xsl:if test="count($todo)>0 and string($todo)!=''">
472    <tr class="titlerow">    <tr class="titlerow">
473    <td class="titlecell" style="background-color: blue">    <td class="titlecell" style="background-color: blue">
474    Todo    Todo
# Line 379  Line 484 
484      <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">
485        <li>The package has not yet entered <a        <li>The package has not yet entered <a
486        href="http://ftp-master.debian.org/testing/update_excuses.html#{$package}">testing</a>        href="http://ftp-master.debian.org/testing/update_excuses.html#{$package}">testing</a>
487        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
488        delay is over.</li>        delay is over.</li>
489      </xsl:if>      </xsl:if>
490      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
# Line 389  Line 494 
494        <xsl:value-of select="standards-version"/>...</li>        <xsl:value-of select="standards-version"/>...</li>
495      </xsl:if>      </xsl:if>
496      <xsl:if test="$hasother">      <xsl:if test="$hasother">
497    
498          <!-- Wnpp handling. [PvR] -->
499          <xsl:if test="$other/@wnpp='yes'">
500          <li>
501            <xsl:choose>
502              <xsl:when test="$other/wnpp/@type='O'">
503              <span style="font-weight: bold">This package has been orphaned</span>.
504              This means that it does not have a real maintainer at the
505              moment. Please consider adopting this package if you have some
506              interests in it.
507              </xsl:when>
508              <xsl:when test="$other/wnpp/@type='ITA'">
509              This package has been orphaned, but someone is intending to
510              resume its maintenance.
511              </xsl:when>
512              <xsl:when test="$other/wnpp/@type='RFA'">
513              The current maintainer is looking for someone who can take over
514              maintenance of this package. If you have some interests in this package,
515              please consider taking it over. Alternatively you may
516              want to be co-maintainer in order to help the actual maintainer.
517              </xsl:when>
518              <xsl:when test="$other/wnpp/@type='ITP'">
519              The WNPP database contains an ITP (Intent To Package) entry for
520              this package. This is probably an error, as it has already been
521              packaged.
522              </xsl:when>
523              <xsl:when test="$other/wnpp/@type='RFP'">
524              The WNPP database contains an RFP (Request For Package) entry
525              for this package.  This is probably an error, as it has already
526              been packaged.
527              </xsl:when>
528              <xsl:otherwise>
529              The WNPP database contains an entry for this package,
530              but it is unclear what kind of entry it is. This is probably an error.
531              </xsl:otherwise>
532            </xsl:choose>
533            <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>
534            Please see bug number <a href="http://bugs.debian.org/{$bn}">
535            #<xsl:value-of select="$bn"/></a> for more information.
536          </li>
537          </xsl:if>
538    
539          <!-- Misc problems reported -->
540        <xsl:for-each select="$other/problems/item">        <xsl:for-each select="$other/problems/item">
541          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
542        </xsl:for-each>        </xsl:for-each>
543      </xsl:if>      </xsl:if>
544    </xsl:variable>    </xsl:variable>
545    <xsl:if test="count($problems)>0">    <xsl:if test="count($problems)>0 and string($problems)!=''">
546    <tr class="titlerow">    <tr class="titlerow">
547    <td class="titlecell" style="background-color: red">    <td class="titlecell" style="background-color: red">
548    Problems    Problems
# Line 418  Line 566 
566    </td>    </td>
567    </tr>    </tr>
568    </xsl:if>    </xsl:if>
569    
570    
571    <xsl:variable name="static">    <xsl:variable name="static">
572      <xsl:if test="$hasnews">      <xsl:if test="$hasnews">
# Line 427  Line 575 
575        </xsl:for-each>        </xsl:for-each>
576      </xsl:if>      </xsl:if>
577    </xsl:variable>    </xsl:variable>
578    <xsl:if test="count($static)>0">    <xsl:if test="count($static)>0 and string($static)!=''">
579      <tr class="titlerow">      <tr class="titlerow">
580      <td class="titlecell">      <td class="titlecell">
581      Static Information      Static Information
# Line 444  Line 592 
592        </xsl:for-each>        </xsl:for-each>
593      </xsl:if>      </xsl:if>
594    </xsl:variable>    </xsl:variable>
595    <xsl:if test="count($news)>0">    <xsl:if test="count($news)>0 and string($news)!=''">
596      <tr class="titlerow">      <tr class="titlerow">
597      <td class="titlecell">      <td class="titlecell">
598      Latest News      Latest News
# Line 458  Line 606 
606    <!-- END RIGHT SIDE -->    <!-- END RIGHT SIDE -->
607    </td></tr>    </td></tr>
608    </table>    </table>
609      Warning: the "Latest News" section is not yet automatically updated. This will
610      be enabled once that master.debian.org is upgraded to woody (stable). At the same
611      time the possibility to add custom news item will be enabled.
612      Please be patient.
613    <hr/>    <hr/>
614    Debian Package Tracking System - Copyright 2002 Raphaël Hertzog<br/>    Debian Package Tracking System - Copyright 2002-2003 Raphaël Hertzog<br/>
615    Last modified : <xsl:value-of select="$date"/>    Last modified : <xsl:value-of select="$date"/>
616    </body>    </body>
617    </html>    </html>

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

  ViewVC Help
Powered by ViewVC 1.1.5