/[qa]/trunk/pts/www/xsl/pts.xsl
ViewVC logotype

Contents of /trunk/pts/www/xsl/pts.xsl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 599 - (hide annotations) (download) (as text)
Sat Jul 12 09:37:21 2003 UTC (9 years, 11 months ago) by hertzog
File MIME type: application/xml
File size: 22537 byte(s)
- Updated standards-version. Closes: #200932
1 hertzog 347 <?xml version="1.0" encoding="ISO-8859-1" ?>
2 hertzog 351
3     <!--
4 hertzog 530 # Copyright 2002-2003 Raphaël Hertzog
5 hertzog 351 # This file is distributed under the terms of the General Public License
6     # version 2 or (at your option) any later version.
7     -->
8    
9 hertzog 347 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
10    
11     <xsl:output encoding="ISO-8859-1" method="html"/>
12    
13     <xsl:param name="package"/>
14     <xsl:param name="dir"/>
15     <xsl:param name="date"/>
16     <xsl:param name="hasstable" select="''"/>
17     <xsl:param name="hastesting" select="''"/>
18     <xsl:param name="hasunstable" select="''"/>
19     <xsl:param name="hasexperimental" select="''"/>
20     <xsl:param name="hasother" select="''"/>
21 hertzog 351 <xsl:param name="hass-p-u" select="''"/>
22     <xsl:param name="hast-p-u" select="''"/>
23     <xsl:param name="hasstable-security" select="''"/>
24     <xsl:param name="hastesting-security" select="''"/>
25 hertzog 357 <xsl:param name="hasnews" select="''"/>
26     <xsl:param name="hasexcuse" select="''"/>
27 hertzog 347
28     <xsl:variable name="other" select="document(concat('../base/', $dir, '/other.xml'))/other"/>
29    
30     <!-- Those variables controls the todo and problem item concerning
31     standards-version not being up to date -->
32 hertzog 599 <xsl:variable name="lastsv" select="'3.6.0'"/>
33 hertzog 347 <xsl:variable name="lastmajorsv" select="'3.'"/>
34    
35     <!-- Named templates aka functions -->
36     <xsl:template name="mirror">
37     <xsl:choose>
38     <xsl:when test="contains(source/section, 'non-US')">
39     <xsl:text>http://non-us.debian.org/debian-non-US</xsl:text>
40     </xsl:when>
41     <xsl:otherwise>
42     <xsl:text>http://http.us.debian.org/debian</xsl:text>
43     </xsl:otherwise>
44     </xsl:choose>
45     </xsl:template>
46    
47     <xsl:template name="outputitem">
48     <xsl:choose>
49     <xsl:when test="@url">
50     <li><xsl:if test="@date">
51     <xsl:text>[</xsl:text>
52     <xsl:value-of select="@date"/>
53     <xsl:text>] </xsl:text>
54     </xsl:if><a href="{@url}"><xsl:value-of select="text()"/></a></li>
55     </xsl:when>
56     <xsl:otherwise>
57     <li><xsl:if test="@date">
58     <xsl:text>[</xsl:text>
59     <xsl:value-of select="@date"/>
60     <xsl:text>] </xsl:text>
61     </xsl:if><xsl:value-of select="text()"/></li>
62     </xsl:otherwise>
63     </xsl:choose>
64     </xsl:template>
65    
66 hertzog 530 <!-- 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 hertzog 347 <!-- All the work is done in a single template -->
83     <xsl:template match="source">
84    
85     <!-- Start of html -->
86     <html>
87     <head>
88 hertzog 350 <meta name="ROBOTS" content="NOFOLLOW"/>
89 hertzog 529 <link title="Default" rel="stylesheet" href="../common/pts.css"/>
90     <link title="Standard link rendering" rel="alternate stylesheet" href="../common/pts2.css"/>
91 hertzog 347 <title>Overview of <xsl:value-of select="$package"/> source package</title>
92     </head>
93     <body>
94 hertzog 357
95 hertzog 401 <form method="get" action="/common/index.html" style="float: right;">
96 hertzog 357 Jump to package : <br/>
97     <input type="text" name="src" value=""/>
98     </form>
99 hertzog 347 <h1>Overview of <xsl:value-of select="$package"/> source package</h1>
100 hertzog 357
101 hertzog 347 <table class="containertable">
102     <tr class="containerrow" valign="top">
103     <td class="containercell">
104     <!-- LEFT SIDE -->
105     <table class="lefttable">
106     <tr class="titlerow">
107     <td class="titlecell" colspan="2">
108     General Information
109     </td></tr>
110     <tr class="normalrow">
111     <td class="labelcell">Last version</td>
112     <td class="contentcell"><xsl:value-of select="version"/></td>
113     </tr>
114     <xsl:if test="@release!='unstable'">
115     <tr class="normalrow">
116     <td class="labelcell">Distribution</td>
117     <td class="contentcell"><xsl:value-of select="@release"/></td>
118     </tr>
119     </xsl:if>
120     <tr class="normalrow">
121     <td class="labelcell">Maintainer</td>
122 hertzog 372 <td class="contentcell"><a class="email" href="http://qa.debian.org/developer.php?login={maintainer/email}">
123     <xsl:value-of select="maintainer/name"/></a> [<a class="email" href="mailto:{maintainer/email}">mail</a>]</td>
124 hertzog 347 </tr>
125     <tr class="normalrow">
126 hertzog 352 <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 hertzog 347 <td class="contentcell">
128     <xsl:if test="uploaders">
129     <xsl:for-each select="uploaders/item">
130 hertzog 372 <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 hertzog 347 </xsl:for-each>
132     </xsl:if>
133     <xsl:if test="not(uploaders)">
134     <a class="none" title="You should find some co-maintainers ..." name="fake">None</a>
135     </xsl:if>
136     </td></tr>
137     <tr class="normalrow">
138     <td class="labelcell">Standards-Version</td>
139     <td class="contentcell"><xsl:value-of select="standards-version"/></td>
140     </tr>
141 hertzog 529 <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 hertzog 347
148     <tr class="titlerow">
149     <td class="titlecell" colspan="2">
150     Bugs Count
151     </td></tr>
152     <tr class="normalrow">
153     <td class="labelcell">All bugs</td>
154     <td class="contentcell">
155     <a href="http://bugs.debian.org/src:{$package}"><xsl:if test="$hasother">
156     <xsl:value-of select="$other/bugs/@all"/>
157     </xsl:if></a>
158     </td>
159     </tr>
160     <tr class="normalrow">
161     <td class="labelcell">Release Critical</td>
162     <td class="contentcell">
163 hertzog 530 <xsl:element name="a">
164     <xsl:attribute name="href">
165     <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 hertzog 347 </td>
176     </tr>
177     <tr class="normalrow">
178     <td class="labelcell">Important and Normal</td>
179     <td class="contentcell">
180 hertzog 530 <xsl:element name="a">
181     <xsl:attribute name="href">
182     <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 hertzog 347 </td>
193     </tr>
194     <tr class="normalrow">
195     <td class="labelcell">Minor and Wishlist</td>
196     <td class="contentcell">
197 hertzog 530 <xsl:element name="a">
198     <xsl:attribute name="href">
199     <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 hertzog 347 </td>
210     </tr>
211     <tr class="normalrow">
212     <td class="labelcell">Fixed and Pending</td>
213     <td class="contentcell">
214 hertzog 530 <xsl:element name="a">
215     <xsl:attribute name="href">
216     <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 hertzog 347 </td>
227     </tr>
228    
229     <tr class="titlerow">
230     <td class="titlecell" colspan="2">
231 hertzog 424 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 hertzog 347 </td></tr>
233     <tr class="normalrow">
234     <td class="labelcell">Subscribers count</td>
235     <td class="contentcell"><xsl:if test="$hasother">
236     <xsl:value-of select="$other/pts/@count"/>
237     </xsl:if></td>
238     </tr>
239     <tr class="normalrow">
240     <td class="contentcell" colspan="2">
241 hertzog 382 <form method="post" action="/cgi-bin/pts.cgi">
242 hertzog 347 <input type="hidden" name="package" value="{$package}"/>
243     <select name="what">
244     <option value="subscribe">Subscribe</option>
245     <option value="unsubscribe">Unsubscribe</option>
246     <option value="advanced">Advanced mode</option>
247     </select>
248     <input type="text" name="email" size="15" value="your email" onFocus="if(email.value=='your email'){{email.value=''}}"/>
249     <input type="submit" name="submit" value="Send"/>
250     </form>
251     </td>
252     </tr>
253    
254     <tr class="titlerow">
255     <td class="titlecell" colspan="2">
256     Binary Package(s)
257     </td></tr>
258     <tr class="normalrow">
259     <td class="normalcell" colspan="2" style="text-align: left">
260     <xsl:for-each select="binary/item">
261     <xsl:sort select="text()"/>
262     <xsl:variable name="pkg" select="text()"/>
263     <li>
264     <a href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>
265     <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>:
267 hertzog 530
268     <xsl:element name="a">
269     <xsl:attribute name="title">critical, grave and serious</xsl:attribute>
270     <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 hertzog 347 </span>
316     </li>
317     </xsl:for-each>
318     </td></tr>
319    
320     <tr class="titlerow">
321     <td class="titlecell" colspan="2">
322     Other available versions
323     </td></tr>
324     <xsl:if test="$hasexperimental">
325     <tr class="normalrow">
326     <td class="labelcell">Experimental</td>
327     <td class="contentcell">
328     <xsl:value-of select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/>
329     </td>
330     </tr>
331     </xsl:if>
332 hertzog 351 <xsl:if test="$hasstable-security">
333     <tr class="normalrow">
334     <td class="labelcell">Security Updates (stable)</td>
335     <td class="contentcell">
336     <xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>
337     </td>
338     </tr>
339     </xsl:if>
340     <xsl:if test="$hastesting-security">
341     <tr class="normalrow">
342     <td class="labelcell">Security Updates (testing)</td>
343     <td class="contentcell">
344     <xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>
345     </td>
346     </tr>
347     </xsl:if>
348 hertzog 347 <xsl:if test="$hastesting">
349     <tr class="normalrow">
350 hertzog 551 <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>
351 hertzog 347 <td class="contentcell">
352     <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>
353     </td>
354     </tr>
355     </xsl:if>
356 hertzog 351 <xsl:if test="$hast-p-u">
357     <tr class="normalrow">
358     <td class="labelcell">Testing Proposed Updates</td>
359     <td class="contentcell">
360     <xsl:value-of select="document(concat('../base/', $dir, '/t-p-u.xml'))/source/version"/>
361     </td>
362     </tr>
363     </xsl:if>
364 hertzog 347 <xsl:if test="$hasstable">
365     <tr class="normalrow">
366 hertzog 551 <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
367 hertzog 347 <td class="contentcell">
368     <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>
369     </td>
370     </tr>
371     </xsl:if>
372 hertzog 351 <xsl:if test="$hass-p-u">
373     <tr class="normalrow">
374     <td class="labelcell">Stable Proposed Updates</td>
375     <td class="contentcell">
376     <xsl:value-of select="document(concat('../base/', $dir, '/s-p-u.xml'))/source/version"/>
377     </td>
378     </tr>
379     </xsl:if>
380    
381 hertzog 347 <tr class="titlerow">
382     <td class="titlecell" colspan="2">
383     Other links
384     </td></tr>
385     <tr>
386     <td class="contentcell" colspan="2" style="text-align: left">
387     <xsl:if test="architecture!='all'">
388     <li><a href="http://buildd.debian.org/build.php?pkg={$package}">Buildd logs</a></li>
389     </xsl:if>
390 hertzog 477 <li><a href="http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=pdesc&amp;package={$package}">Description's translations (DDTP)</a></li>
391 hertzog 479 <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 hertzog 372 <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">
395 hertzog 347 <li><a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$package}">Debcheck on unstable</a></li>
396     </xsl:if>
397 hertzog 372 <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">
398 hertzog 347 <li><a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$package}">Debcheck on testing</a></li>
399     </xsl:if>
400 hertzog 372 <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">
401 hertzog 347 <li><a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$package}">Debcheck on stable</a></li>
402     </xsl:if>
403     </td>
404     </tr>
405    
406     <tr class="titlerow">
407     <td class="titlecell" colspan="2">
408     <xsl:element name="a">
409     <xsl:attribute name="class">
410     <xsl:text>titlelink</xsl:text>
411     </xsl:attribute>
412     <xsl:attribute name="href">
413     <xsl:call-template name="mirror"/>
414     <xsl:text>/</xsl:text>
415     <xsl:value-of select="directory"/>
416     <xsl:text>/</xsl:text>
417     </xsl:attribute>
418     <xsl:text>Source files</xsl:text>
419     </xsl:element>
420     </td></tr>
421     <tr class="normalrow">
422     <td class="normalcell" colspan="2" style="text-align: left">
423     <xsl:for-each select="files/item">
424     <li>
425     <xsl:element name="a">
426     <xsl:attribute name="class">srcfile</xsl:attribute>
427     <xsl:attribute name="href">
428     <xsl:call-template name="mirror"/>
429     <xsl:text>/</xsl:text>
430     <xsl:value-of select="../../directory"/>
431     <xsl:text>/</xsl:text>
432     <xsl:value-of select="filename"/>
433     </xsl:attribute>
434     <xsl:attribute name="title">
435     <xsl:value-of select="size"/>
436     <xsl:text> bytes</xsl:text>
437     </xsl:attribute>
438     <xsl:value-of select="filename"/>
439     </xsl:element>
440     </li>
441     </xsl:for-each>
442     </td></tr>
443    
444     </table>
445     <!-- END LEFT SIDE -->
446     </td><td class="containercell">
447     <!-- RIGHT SIDE -->
448     <table class="righttable">
449    
450    
451     <!-- Todo list -->
452     <xsl:variable name="todo">
453     <xsl:if test="@nmu">
454     <li>Incorporate and acknowledge the changes from the non maintainer upload.</li>
455     </xsl:if>
456     <xsl:if test="not(uploaders)and(priority='standard' or priority='required' or priority='important')">
457     <li>The package is of priority standard or higher, you should really find some co-maintainers.</li>
458     </xsl:if>
459     <xsl:if test="not(starts-with(standards-version, $lastsv))">
460 hertzog 572 <li>The package should be updated to follow the last version of
461 hertzog 553 <a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version
462 hertzog 347 <xsl:value-of select="$lastsv"/> instead of
463     <xsl:value-of select="standards-version"/>).</li>
464     </xsl:if>
465     <xsl:if test="$hasother">
466     <xsl:for-each select="$other/todo/item">
467     <xsl:call-template name="outputitem"/>
468     </xsl:for-each>
469     </xsl:if>
470     </xsl:variable>
471 hertzog 372 <xsl:if test="count($todo)>0 and string($todo)!=''">
472 hertzog 347 <tr class="titlerow">
473 hertzog 352 <td class="titlecell" style="background-color: blue">
474 hertzog 347 Todo
475     </td></tr>
476     <tr class="normalrow">
477     <td class="contentcell2"><xsl:copy-of select="$todo"/>
478     </td>
479     </tr>
480     </xsl:if>
481    
482     <!-- List of problems -->
483     <xsl:variable name="problems">
484 hertzog 357 <xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">
485 hertzog 347 <li>The package has not yet entered <a
486     href="http://ftp-master.debian.org/testing/update_excuses.html#{$package}">testing</a>
487 hertzog 406 even though the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day
488 hertzog 347 delay is over.</li>
489     </xsl:if>
490     <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
491     <li>The package is severly out of date with respect to the Debian
492     Policy. Latest version is <xsl:value-of select="$lastsv"/>
493     and your package only follows
494     <xsl:value-of select="standards-version"/>...</li>
495     </xsl:if>
496     <xsl:if test="$hasother">
497 hertzog 560
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 hertzog 347 <xsl:for-each select="$other/problems/item">
541     <xsl:call-template name="outputitem"/>
542     </xsl:for-each>
543     </xsl:if>
544     </xsl:variable>
545 hertzog 372 <xsl:if test="count($problems)>0 and string($problems)!=''">
546 hertzog 347 <tr class="titlerow">
547 hertzog 352 <td class="titlecell" style="background-color: red">
548 hertzog 347 Problems
549     </td></tr>
550     <tr class="normalrow">
551     <td class="contentcell2"><xsl:copy-of select="$problems"/>
552     </td>
553     </tr>
554     </xsl:if>
555    
556 hertzog 357 <xsl:if test="$hasexcuse">
557 hertzog 347 <tr class="titlerow">
558     <td class="titlecell">
559     Testing Status
560     </td></tr>
561     <tr class="normalrow">
562     <td class="contentcell2" style="text-align: left">
563 hertzog 357 <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
564 hertzog 347 <xsl:call-template name="outputitem"/>
565     </xsl:for-each>
566     </td>
567     </tr>
568     </xsl:if>
569 hertzog 560
570 hertzog 347
571     <xsl:variable name="static">
572 hertzog 357 <xsl:if test="$hasnews">
573     <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
574 hertzog 347 <xsl:call-template name="outputitem"/>
575     </xsl:for-each>
576     </xsl:if>
577     </xsl:variable>
578 hertzog 372 <xsl:if test="count($static)>0 and string($static)!=''">
579 hertzog 347 <tr class="titlerow">
580     <td class="titlecell">
581     Static Information
582     </td></tr>
583     <tr class="normalrow">
584     <td class="contentcell2"><xsl:copy-of select="$static"/></td>
585     </tr>
586     </xsl:if>
587    
588     <xsl:variable name="news">
589 hertzog 357 <xsl:if test="$hasnews">
590     <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
591 hertzog 347 <xsl:call-template name="outputitem"/>
592     </xsl:for-each>
593     </xsl:if>
594     </xsl:variable>
595 hertzog 372 <xsl:if test="count($news)>0 and string($news)!=''">
596 hertzog 347 <tr class="titlerow">
597     <td class="titlecell">
598     Latest News
599     </td></tr>
600     <tr class="normalrow">
601     <td class="contentcell2"><xsl:copy-of select="$news"/></td>
602     </tr>
603     </xsl:if>
604    
605     </table>
606     <!-- END RIGHT SIDE -->
607     </td></tr>
608     </table>
609     <hr/>
610 hertzog 530 Debian Package Tracking System - Copyright 2002-2003 Raphaël Hertzog<br/>
611 hertzog 347 Last modified : <xsl:value-of select="$date"/>
612     </body>
613     </html>
614     </xsl:template>
615    
616     </xsl:stylesheet>

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5