/[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 2249 - (hide annotations) (download) (as text)
Sat Jul 25 09:15:20 2009 UTC (3 years, 10 months ago) by zack
File MIME type: application/xml
File size: 40793 byte(s)
add a link to the pool directory (Closes: #538310)
1 jeroen 1170 <?xml version="1.0" encoding="utf-8" ?>
2 hertzog 351
3     <!--
4 zack 2228 # Copyright © 2002-2008 Raphaël Hertzog and others
5     # Copyright © 2007-2009 Stefano Zacchiroli
6 hertzog 351 # This file is distributed under the terms of the General Public License
7     # version 2 or (at your option) any later version.
8     -->
9    
10 zack 1957 <xsl:stylesheet
11     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12     xmlns="http://www.w3.org/1999/xhtml"
13     version="1.0">
14 hertzog 347
15 zack 1957 <xsl:output
16     method="xml"
17     encoding="UTF-8"
18     omit-xml-declaration="yes"
19     doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
20     doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
21     indent="yes" />
22    
23 zack 1955 <xsl:include href="pts-issues.xsl" />
24    
25 hertzog 347 <xsl:param name="package"/>
26     <xsl:param name="dir"/>
27     <xsl:param name="date"/>
28 jeroen 1021 <xsl:param name="hasoldstable" select="''"/>
29 hertzog 347 <xsl:param name="hasstable" select="''"/>
30     <xsl:param name="hastesting" select="''"/>
31     <xsl:param name="hasunstable" select="''"/>
32     <xsl:param name="hasexperimental" select="''"/>
33 zack 1933 <xsl:param name="hasmentors" select="''"/>
34 hertzog 347 <xsl:param name="hasother" select="''"/>
35 zack 1953 <xsl:param name="hasstable-proposed-updates" select="''"/>
36     <xsl:param name="hastesting-proposed-updates" select="''"/>
37 zack 2053 <xsl:param name="hassecurity-oldstable" select="''"/>
38     <xsl:param name="hassecurity-stable" select="''"/>
39     <xsl:param name="hassecurity-testing" select="''"/>
40 hertzog 1090 <xsl:param name="hasvolatile" select="''"/>
41 hertzog 357 <xsl:param name="hasnews" select="''"/>
42     <xsl:param name="hasexcuse" select="''"/>
43 hertzog 347
44 zack 1773 <xsl:variable name="other"
45     select="document(concat('../base/', $dir, '/other.xml'))/other"/>
46     <xsl:variable name="low-nmu-emails"
47     select="document('../base/low_threshold_nmu.emails.xml')/emails"/>
48 zack 2249 <xsl:variable name="mostrecentsuite">
49     <!-- name of the most recent suite in which the package is available
50     -->
51     <xsl:choose>
52     <xsl:when test="$hasexperimental">
53     <xsl:text>experimental</xsl:text>
54     </xsl:when>
55     <xsl:when test="$hasunstable">
56     <xsl:text>unstable</xsl:text>
57     </xsl:when>
58     <xsl:when test="$hastesting">
59     <xsl:text>testing</xsl:text>
60     </xsl:when>
61     <xsl:when test="$hasstable">
62     <xsl:text>stable</xsl:text>
63     </xsl:when>
64     <xsl:otherwise>
65     <xsl:text />
66     </xsl:otherwise>
67     </xsl:choose>
68     </xsl:variable>
69     <xsl:variable name="pooldir">
70     <xsl:value-of select="document(concat('../base/', $dir, '/',
71     $mostrecentsuite, '.xml'))/source/directory" />
72     </xsl:variable>
73 hertzog 347
74     <!-- Those variables controls the todo and problem item concerning
75     standards-version not being up to date -->
76 hertzog 2213 <xsl:variable name="lastsv" select="'3.8.2'"/>
77 hertzog 347 <xsl:variable name="lastmajorsv" select="'3.'"/>
78    
79 zack 1934 <!-- lintian summary -->
80     <xsl:variable name="lin_errs" select="$other/lintian/@errors" />
81     <xsl:variable name="lin_warns" select="$other/lintian/@warnings" />
82    
83 hertzog 347 <!-- Named templates aka functions -->
84 zack 1927
85     <xsl:template name="mk_lintian_url">
86     <!-- convert maintainer/name to follow lintian.debian.org convention -->
87     <xsl:variable name="lintian_pattern" select="concat('àáèéëêòöøîìùñ~/()&#34; ', &quot;'&quot;)"/>
88 zack 1929 <xsl:variable name="lintian_email" select="translate(maintainer/email, $lintian_pattern, '_____________________')"/>
89 zack 1927
90     <xsl:text>http://lintian.debian.org/reports/maintainer/</xsl:text>
91     <xsl:value-of select="$lintian_email" />
92     <xsl:text>.html#</xsl:text>
93     <xsl:value-of select="$package" />
94     </xsl:template>
95    
96 zack 2249 <xsl:variable name="mirror">http://ftp.debian.org/debian</xsl:variable>
97 hertzog 347
98     <xsl:template name="outputitem">
99     <xsl:choose>
100     <xsl:when test="@url">
101     <li><xsl:if test="@date">
102     <xsl:text>[</xsl:text>
103     <xsl:value-of select="@date"/>
104     <xsl:text>] </xsl:text>
105 jeroen 929 </xsl:if><a href="{@url}">
106     <xsl:value-of select="text()"/></a><xsl:if test="@from">
107     <xsl:text> (</xsl:text>
108     <xsl:value-of select="@from"/>
109     <xsl:text>)</xsl:text></xsl:if></li>
110 hertzog 347 </xsl:when>
111 zack 2228 <xsl:when test="@type='raw'">
112     <li>
113     <xsl:copy-of select="node()" />
114     </li>
115     </xsl:when>
116 hertzog 347 <xsl:otherwise>
117     <li><xsl:if test="@date">
118     <xsl:text>[</xsl:text>
119     <xsl:value-of select="@date"/>
120     <xsl:text>] </xsl:text>
121     </xsl:if><xsl:value-of select="text()"/></li>
122     </xsl:otherwise>
123     </xsl:choose>
124     </xsl:template>
125    
126 jeroen 1170 <!-- Convert + in %2b for URL escaping. Should actually first also do
127     other-to-%xx, especially % to %25... Fortunately, that's rare -->
128 hertzog 530 <xsl:template name="escape-name">
129     <xsl:param name="text"/>
130     <xsl:if test="contains($text,'+')">
131     <xsl:value-of select="substring-before($text,'+')"/>
132     <xsl:text>%2b</xsl:text>
133     <xsl:call-template name="escape-name">
134     <xsl:with-param name="text"><xsl:value-of select="substring-after($text,'+')"/></xsl:with-param>
135     </xsl:call-template>
136     </xsl:if>
137     <xsl:if test="not(contains($text,'+'))">
138     <xsl:value-of select="$text"/>
139     </xsl:if>
140     </xsl:template>
141    
142 zack 1819 <xsl:variable name="escaped-package">
143     <xsl:call-template name="escape-name">
144     <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
145     </xsl:call-template>
146     </xsl:variable>
147    
148 jeroen 1030 <!-- Strip epoch -->
149     <xsl:template name="strip-epoch">
150     <xsl:param name="version"/>
151     <xsl:if test="contains($version,':')">
152     <xsl:value-of select="substring-after($version,':')"/>
153     </xsl:if>
154     <xsl:if test="not(contains($version,':'))">
155     <xsl:value-of select="$version"/>
156     </xsl:if>
157     </xsl:template>
158 hertzog 530
159 hertzog 1412 <xsl:template name="add-vcs-info">
160     <xsl:if test="repository">
161 zack 2248 <dt title="Version Control System">VCS</dt>
162 zack 2232 <dd>
163     <xsl:if test="repository/vcs[@kind!='browser']">
164     <xsl:for-each select="repository/vcs[@kind!='browser']">
165     <xsl:sort select="@kind" />
166     <a title="raw {@kind} repository" href="{@url}">
167     <xsl:value-of select="@kind" />
168     </a>
169     <xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
170     </xsl:for-each>
171     </xsl:if>
172     <xsl:if test="repository/vcs[@kind='browser']">
173     <xsl:text> (</xsl:text>
174     <a title="browse the repository"
175     href="{repository/vcs[@kind='browser']/@url}">browse</a>
176 zack 1960 <xsl:text>)</xsl:text>
177 zack 2232 </xsl:if>
178     </dd>
179 hertzog 1412 </xsl:if>
180     </xsl:template>
181 jeroen 1030
182 zack 1748 <xsl:template name="add-maintenance-info">
183 zack 1773 <xsl:param name="email" />
184 zack 1748 <xsl:variable name="dm">
185     <xsl:if test="dm-upload-allowed and string(dm-upload-allowed)='yes'">
186     <xsl:text>true</xsl:text>
187     </xsl:if>
188     </xsl:variable>
189 zack 1750 <xsl:variable name="lownmu">
190 zack 1773 <xsl:if test="$low-nmu-emails/email[text()=$email]">
191 zack 1750 <xsl:text>true</xsl:text>
192     </xsl:if>
193     </xsl:variable>
194 zack 1748
195 zack 1750 <xsl:if test="string($dm)!='' or string($lownmu)!=''">
196 zack 2232 <div class="maint-markers">
197     <xsl:if test="string($dm)!=''">
198     <span class="dm-tag">
199     <a href="http://www.debian.org/vote/2007/vote_003">
200     <acronym title="Debian Maintainer Upload Allowed: this package can be uploaded by Debian Maintainers">DMUA</acronym>
201     </a>
202     </span>
203     </xsl:if>
204     <xsl:if test="string($lownmu)!=''">
205     <xsl:if test="string($dm)!=''">
206     <xsl:text>, </xsl:text>
207     </xsl:if>
208     <span class="lownmu-tag">
209     <a href="http://wiki.debian.org/LowThresholdNmu">
210     <acronym title="maintainer agrees with Low Threshold NMU">LowNMU</acronym>
211     </a>
212     </span>
213     </xsl:if>
214     </div>
215 zack 1748 </xsl:if>
216     </xsl:template>
217    
218 zack 1745 <xsl:template name="output-news">
219     <xsl:param name="news" />
220    
221     <xsl:if test="count($news)>0 and string($news)!=''">
222 zack 2232 <div class="block news">
223     <a name="news" />
224     <h2>news <a class="feedlink" href="{$package}/news.rss20.xml">RSS</a></h2>
225     <ul id="news-list">
226     <xsl:copy-of select="$news" />
227     </ul>
228     </div>
229 zack 1745 </xsl:if>
230     </xsl:template>
231    
232     <xsl:template name="output-static">
233     <xsl:param name="static" />
234    
235     <xsl:if test="count($static)>0 and string($static)!=''">
236 zack 2232 <div class="block static">
237     <a name="static" />
238     <h2>static info</h2>
239     <ul>
240     <xsl:copy-of select="$static" />
241     </ul>
242     </div>
243 zack 1745 </xsl:if>
244     </xsl:template>
245    
246 zack 1765 <xsl:template name="maintainer-email">
247     <xsl:param name="email" />
248     <a class="email" href="mailto:{$email}">
249     <img alt="[email]" src="../common/email.png" title="email" />
250     </a>
251     </xsl:template>
252    
253 zack 1768 <xsl:template name="general-information">
254 zack 2232 <div class="block info">
255     <a name="general" />
256     <h2>general</h2>
257     <dl>
258     <dt>source</dt>
259     <dd>
260     <a href="http://packages.debian.org/src:{$package}">
261     <xsl:value-of select="$package" />
262     </a>
263     (<span id="priority" title="priority">
264     <small><xsl:value-of select="priority"/></small>
265     </span>,
266     <span id="section" title="section">
267     <small><xsl:value-of select="section"/></small>
268     </span>)
269     </dd>
270    
271     <dt>version</dt>
272     <dd>
273     <span id="latest_version"><xsl:value-of select="version"/></span>
274     </dd>
275    
276     <xsl:if test="@release!='unstable'">
277     <dt>distro</dt>
278     <dd><xsl:value-of select="@release"/></dd>
279     </xsl:if>
280    
281 zack 2247 <dt title="Maintainer and Uploaders">maint</dt>
282 zack 2232 <dd class="maintainer">
283     <xsl:element name="a">
284     <xsl:attribute name="href">
285     <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
286     <xsl:call-template name="escape-name">
287     <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
288     </xsl:call-template>
289     </xsl:attribute>
290     <span class="name" title="maintainer">
291     <xsl:value-of select="maintainer/name"/>
292 zack 2051 </span>
293 zack 2232 </xsl:element>
294     <xsl:if test="uploaders">
295     <xsl:for-each select="uploaders/item">
296     <xsl:text>, </xsl:text>
297     <span class="uploader">
298     <small>
299     <xsl:element name="a">
300     <xsl:attribute name="href">
301     <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
302     <xsl:call-template name="escape-name">
303     <xsl:with-param name="text">
304     <xsl:value-of select="email"/>
305     </xsl:with-param>
306     </xsl:call-template>
307     </xsl:attribute>
308     <span class="name" title="uploader">
309     <xsl:value-of select="name"/>
310     </span>
311     </xsl:element>
312 zack 2247 <xsl:text> (u)</xsl:text>
313 zack 2232 </small>
314     </span>
315     </xsl:for-each>
316     </xsl:if>
317     <xsl:call-template name='add-maintenance-info'>
318     <xsl:with-param name="email" select="maintainer/email" />
319     </xsl:call-template>
320     </dd>
321    
322     <xsl:if test="architecture!='any' and architecture!='all'">
323     <dt>arch</dt>
324     <dd><xsl:value-of select="architecture"/></dd>
325     </xsl:if>
326    
327 zack 2248 <dt title="Standards-Version">std-ver</dt>
328 zack 2232 <dd>
329     <span id="standards_version">
330     <xsl:value-of select="standards-version"/>
331     </span>
332     </dd>
333    
334     <xsl:call-template name='add-vcs-info' />
335     </dl>
336     </div>
337 zack 1768 </xsl:template>
338    
339     <xsl:template name="bugs-count">
340 zack 2232 <div class="block bugs">
341     <a name="bugs" />
342     <h2>bugs count</h2>
343     <dl>
344     <dt id="bugs_all">
345     all
346     <xsl:element name="a">
347 hertzog 1911 <xsl:attribute name="href">
348 zack 2232 <xsl:text>http://people.debian.org/~glandium/bts/</xsl:text>
349     <xsl:value-of select="substring($package, 1, 1)"/>
350     <xsl:text>/</xsl:text>
351 zack 1939 <xsl:value-of select="$escaped-package" />
352 zack 2232 <xsl:text>.png</xsl:text>
353 hertzog 1911 </xsl:attribute>
354 zack 2232 <xsl:attribute name="title">bug history graph</xsl:attribute>
355     <img alt="bug history graph" src="../common/bug-graph.png" />
356     </xsl:element>
357     </dt>
358     <dd>
359     <xsl:element name="a">
360 hertzog 1911 <xsl:attribute name="href">
361 zack 2232 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&amp;src=</xsl:text>
362 zack 1939 <xsl:value-of select="$escaped-package" />
363 hertzog 1911 </xsl:attribute>
364 zack 2232 <xsl:if test="$hasother">
365     <span class="bugcount" title="all">
366     <xsl:value-of select="$other/bugs/@all"/>
367     </span>
368     </xsl:if>
369     </xsl:element>
370     <xsl:if test="$hasother and $other/bugs/@all_m">
371     (<xsl:element name="a">
372     <xsl:attribute name="href">
373     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=yes&amp;src=</xsl:text>
374     <xsl:value-of select="$escaped-package" />
375     </xsl:attribute>
376     <xsl:value-of select="$other/bugs/@all_m"/>
377     </xsl:element>)
378 zack 1768 </xsl:if>
379 zack 2232 </dd>
380 zack 2248 <dt id="bugs_rc" title="Release Critical">
381     <span class="indented">RC</span>
382 zack 2232 </dt>
383     <dd>
384     <xsl:element name="a">
385 hertzog 1911 <xsl:attribute name="href">
386     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
387 zack 1939 <xsl:value-of select="$escaped-package" />
388 zack 2232 <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&amp;repeatmerged=no</xsl:text>
389 hertzog 1911 </xsl:attribute>
390 zack 2232 <xsl:if test="$hasother">
391     <span class="bugcount" title="rc">
392     <xsl:value-of select="$other/bugs/@rc"/>
393     </span>
394     </xsl:if>
395     </xsl:element>
396     <xsl:if test="$hasother and $other/bugs/@rc_m">
397     (<xsl:element name="a">
398     <xsl:attribute name="href">
399     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
400     <xsl:value-of select="$escaped-package" />
401     <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&amp;repeatmerged=yes</xsl:text>
402     </xsl:attribute>
403     <xsl:value-of select="$other/bugs/@rc_m"/>
404     </xsl:element>)
405 zack 1768 </xsl:if>
406 zack 2232 </dd>
407 zack 2248 <dt id="bugs_in" title="Important and Normal">
408     <span class="indented">I&amp;N</span>
409 zack 2232 </dt>
410     <dd>
411     <xsl:element name="a">
412 hertzog 1911 <xsl:attribute name="href">
413     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
414 zack 1939 <xsl:value-of select="$escaped-package" />
415 zack 2232 <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&amp;repeatmerged=no</xsl:text>
416 hertzog 1911 </xsl:attribute>
417 zack 2232 <xsl:if test="$hasother">
418     <span class="bugcount" title="in">
419     <xsl:value-of select="$other/bugs/@normal"/>
420     </span>
421     </xsl:if>
422     </xsl:element>
423     <xsl:if test="$hasother and $other/bugs/@normal_m">
424     (<xsl:element name="a">
425     <xsl:attribute name="href">
426     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
427     <xsl:value-of select="$escaped-package" />
428     <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&amp;repeatmerged=yes</xsl:text>
429     </xsl:attribute>
430     <xsl:value-of select="$other/bugs/@normal_m"/>
431     </xsl:element>)
432 zack 1768 </xsl:if>
433 zack 2232 </dd>
434 zack 2248 <dt id="bugs_mw" title="Minor and Wishlist">
435     <span class="indented">M&amp;W</span>
436 zack 2232 </dt>
437     <dd>
438     <xsl:element name="a">
439 hertzog 1911 <xsl:attribute name="href">
440     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
441 zack 1939 <xsl:value-of select="$escaped-package" />
442 zack 2232 <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&amp;repeatmerged=no</xsl:text>
443 hertzog 1911 </xsl:attribute>
444 zack 2232 <xsl:if test="$hasother">
445     <span class="bugcount" title="mw">
446     <xsl:value-of select="$other/bugs/@wishlist"/>
447     </span>
448     </xsl:if>
449     </xsl:element>
450     <xsl:if test="$hasother and $other/bugs/@wishlist_m">
451     (<xsl:element name="a">
452     <xsl:attribute name="href">
453     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
454     <xsl:value-of select="$escaped-package" />
455     <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&amp;repeatmerged=yes</xsl:text>
456     </xsl:attribute>
457     <xsl:value-of select="$other/bugs/@wishlist_m"/>
458     </xsl:element>)
459     </xsl:if>
460     </dd>
461 zack 2248 <dt id="bugs_fp" title="Fixed and Pending">
462     <span class="indented">F&amp;P</span>
463 zack 2232 </dt>
464     <dd>
465 zack 1939 <xsl:element name="a">
466     <xsl:attribute name="href">
467     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
468     <xsl:value-of select="$escaped-package" />
469 zack 2232 <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=no</xsl:text>
470 zack 1939 </xsl:attribute>
471 zack 2232 <xsl:if test="$hasother">
472     <span class="bugcount" title="fp">
473     <xsl:value-of select="$other/bugs/@fixed"/>
474     </span>
475     </xsl:if>
476 zack 1939 </xsl:element>
477 zack 2232 <xsl:if test="$hasother and $other/bugs/@fixed_m">
478     (<xsl:element name="a">
479     <xsl:attribute name="href">
480     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
481     <xsl:value-of select="$escaped-package" />
482     <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=yes</xsl:text>
483     </xsl:attribute>
484     <xsl:value-of select="$other/bugs/@fixed_m"/>
485     </xsl:element>)
486     </xsl:if>
487     </dd>
488     <xsl:if test="$other/bugs/@gift &gt; 0">
489     <dt id="bugs_gift">
490     <span class="indented">
491     <a href="http://wiki.debian.org/qa.debian.org/GiftTag">gift</a>
492     </span>
493     </dt>
494     <dd>
495     <xsl:element name="a">
496     <xsl:attribute name="href">
497     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
498     <xsl:value-of select="$escaped-package" />
499     <xsl:text>&amp;users=debian-qa@lists.debian.org;tag=gift</xsl:text>
500     </xsl:attribute>
501     <span class="bugcount" title="gift">
502     <xsl:value-of select="$other/bugs/@gift" />
503     </span>
504     </xsl:element>
505     </dd>
506     </xsl:if>
507     </dl>
508     </div>
509 zack 1768 </xsl:template>
510 hertzog 347
511 zack 1768 <xsl:template name="pts-subscription">
512 zack 2232 <!-- <acronym title="Package Tracking System">PTS</acronym> subscription -->
513     <!-- <tr class="normalrow"> -->
514     <!-- <td class="labelcell">Subscribers count</td> -->
515     <!-- <td class="contentcell"><xsl:if test="$hasother"> -->
516     <!-- <xsl:value-of select="$other/pts/@count"/> -->
517     <!-- </xsl:if></td> -->
518     <!-- </tr> -->
519     <form method="post" action="/cgi-bin/pts.cgi">
520     <p>
521     <input type="hidden" name="package" value="{$package}"/>
522     subscribe to this package<br />
523     <input type="text" name="email" size="10" value="email"
524     onfocus="if(email.value=='your email'){{email.value=''}}"/>
525     <select name="what">
526     <option value="subscribe">sub</option>
527     <option value="unsubscribe">unsub</option>
528     <option value="advanced">opts</option>
529     </select>
530     <input type="submit" name="submit" value="go"/>
531     </p>
532     </form>
533 zack 1768 </xsl:template>
534 hertzog 347
535 zack 1768 <xsl:template name="binary-packages">
536 zack 2232 <div class="block binaries">
537     <a name="binaries" />
538     <h2>binaries</h2>
539     <ul>
540     <xsl:for-each select="binary/item">
541     <xsl:sort select="text()"/>
542     <xsl:variable name="pkg" select="text()"/>
543     <xsl:variable name="tooltip"
544     select="concat($pkg, ': ',
545     $other/descriptions/shortdesc[@package=$pkg])" />
546     <li class="binpkg">
547     <a class="binpkg" title="{$tooltip}"
548     href="http://packages.debian.org/{text()}">
549     <span class="binpkg"><xsl:value-of select="text()"/></span>
550     </a>
551     <span style="font-size: 70%">
552     (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:
553     <xsl:element name="a">
554     <xsl:attribute name="title">critical, grave and serious</xsl:attribute>
555     <xsl:attribute name="href">
556     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
557     <xsl:call-template name="escape-name">
558     <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
559     </xsl:call-template>
560     <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>
561     </xsl:attribute>
562     <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
563     </xsl:element>,
564     <xsl:element name="a">
565     <xsl:attribute name="title">important and normal</xsl:attribute>
566     <xsl:attribute name="href">
567     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
568     <xsl:call-template name="escape-name">
569     <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
570     </xsl:call-template>
571     <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>
572     </xsl:attribute>
573     <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
574     </xsl:element>,
575     <xsl:element name="a">
576     <xsl:attribute name="title">wishlist and minor</xsl:attribute>
577     <xsl:attribute name="href">
578     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
579     <xsl:call-template name="escape-name">
580     <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
581     </xsl:call-template>
582     <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>
583     </xsl:attribute>
584     <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
585     </xsl:element>,
586     <xsl:element name="a">
587     <xsl:attribute name="title">pending and fixed</xsl:attribute>
588     <xsl:attribute name="href">
589     <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
590     <xsl:call-template name="escape-name">
591     <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
592     </xsl:call-template>
593     <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
594     </xsl:attribute>
595     <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
596     </xsl:element>)
597     </span>
598     </li>
599     </xsl:for-each>
600     </ul>
601     </div>
602 zack 1768 </xsl:template>
603 hertzog 347
604 zack 2058 <xsl:template name="output-version">
605     <xsl:param name="suite" select="''" />
606     <xsl:param name="link" select="'yes'" />
607     <xsl:variable name="version">
608     <span class="srcversion" title="{$suite}">
609     <xsl:value-of select="document(concat('../base/', $dir, '/', $suite,
610     '.xml'))/source/version"/>
611     </span>
612     </xsl:variable>
613     <xsl:choose>
614     <xsl:when test="$link='yes'">
615 zack 2232 <xsl:element name="a">
616     <xsl:attribute name="class">dsc</xsl:attribute>
617     <xsl:attribute name="href">
618 zack 2249 <xsl:value-of select="$mirror"/>
619 zack 2232 <xsl:text>/</xsl:text>
620 zack 2249 <xsl:value-of select="$pooldir"/>
621 zack 2232 <xsl:text>/</xsl:text>
622     <xsl:value-of select="document(concat('../base/', $dir, '/',
623     $suite, '.xml'))/source/files/item[1]/filename"/>
624     </xsl:attribute>
625     <xsl:attribute name="title">.dsc, use dget on this link to retrieve source package</xsl:attribute>
626     <img src="../common/save.png" alt="save" />
627     </xsl:element>
628 zack 2058 <a href="http://packages.debian.org/source/{$suite}/{$package}">
629     <xsl:copy-of select="$version" />
630     </a>
631     </xsl:when>
632     <xsl:otherwise>
633     <xsl:copy-of select="$version" />
634     </xsl:otherwise>
635     </xsl:choose>
636     </xsl:template>
637    
638 zack 2232 <xsl:template name="more-info-marker">
639     <xsl:param name="href" />
640     <xsl:param name="title">more information are available on an external web page</xsl:param>
641     <a href="{$href}">
642     <img src="../common/external.png" title="{$title}" alt="..." />
643     </a>
644     </xsl:template>
645    
646 zack 1768 <xsl:template name="available-versions">
647 zack 2232 <div class="block versions">
648     <a name="versions" />
649     <h2>versions
650     <xsl:call-template name="more-info-marker">
651     <xsl:with-param name="href">
652     <xsl:text>http://qa.debian.org/madison.php?package=</xsl:text>
653     <xsl:value-of select="$package" />
654     </xsl:with-param>
655     <xsl:with-param name="title">more versions can be listed by madison</xsl:with-param>
656     </xsl:call-template>
657 zack 2249 <a class="dsc" href="{$mirror}/{$pooldir}">
658     <img src="../common/folder.png" alt="pool" title="pool directory" />
659     </a>
660 zack 2232 </h2>
661 jeroen 1027
662 zack 2232 <dl>
663     <xsl:if test="$hasoldstable">
664 zack 2248 <dt title="old stable release">old</dt>
665 zack 2232 <dd>
666     <xsl:call-template name="output-version">
667     <xsl:with-param name="suite">oldstable</xsl:with-param>
668     </xsl:call-template>
669     </dd>
670     </xsl:if>
671     <xsl:if test="$hassecurity-oldstable">
672 zack 2248 <dt title="security updates for the old stable release">old-sec</dt>
673 zack 2232 <dd>
674     <xsl:call-template name="output-version">
675     <xsl:with-param name="suite">security-oldstable</xsl:with-param>
676     <xsl:with-param name="link">no</xsl:with-param>
677     </xsl:call-template>
678     </dd>
679     </xsl:if>
680     <xsl:if test="$hasstable">
681     <dt>stable</dt>
682     <dd>
683     <xsl:call-template name="output-version">
684     <xsl:with-param name="suite">stable</xsl:with-param>
685     </xsl:call-template>
686     </dd>
687     </xsl:if>
688     <xsl:if test="$hassecurity-stable">
689 zack 2248 <dt title="security updates for the stable release">stable-sec</dt>
690 zack 2232 <dd>
691     <xsl:call-template name="output-version">
692     <xsl:with-param name="suite">security-stable</xsl:with-param>
693     <xsl:with-param name="link">no</xsl:with-param>
694     </xsl:call-template>
695     </dd>
696     </xsl:if>
697     <xsl:if test="$hasstable-proposed-updates">
698 zack 2248 <dt title="stable proposed updates">s-p-u</dt>
699 zack 2232 <dd>
700     <xsl:call-template name="output-version">
701     <xsl:with-param name="suite">stable-proposed-updates</xsl:with-param>
702     <xsl:with-param name="link">no</xsl:with-param>
703     </xsl:call-template>
704     </dd>
705     </xsl:if>
706     <xsl:if test="$hastesting">
707     <dt>testing</dt>
708     <dd>
709     <xsl:call-template name="output-version">
710     <xsl:with-param name="suite">testing</xsl:with-param>
711     </xsl:call-template>
712     </dd>
713     </xsl:if>
714     <xsl:if test="$hassecurity-testing">
715 zack 2248 <dt title="security updates for the testing release">testing-sec</dt>
716 zack 2232 <dd>
717     <xsl:call-template name="output-version">
718     <xsl:with-param name="suite">security-testing</xsl:with-param>
719     <xsl:with-param name="link">no</xsl:with-param>
720     </xsl:call-template>
721     </dd>
722     </xsl:if>
723     <xsl:if test="$hastesting-proposed-updates">
724 zack 2248 <dt title="testing proposed updates">t-p-u</dt>
725 zack 2232 <dd>
726     <xsl:call-template name="output-version">
727     <xsl:with-param name="suite">testing-proposed-updates</xsl:with-param>
728     <xsl:with-param name="link">no</xsl:with-param>
729     </xsl:call-template>
730     </dd>
731     </xsl:if>
732     <xsl:if test="$hasunstable">
733     <dt>unstable</dt>
734     <dd>
735     <xsl:call-template name="output-version">
736     <xsl:with-param name="suite">unstable</xsl:with-param>
737     </xsl:call-template>
738     </dd>
739     </xsl:if>
740     <xsl:if test="$hasexperimental">
741 zack 2248 <dt title="experimental release">exp</dt>
742 zack 2232 <dd>
743     <xsl:call-template name="output-version">
744     <xsl:with-param name="suite">experimental</xsl:with-param>
745     </xsl:call-template>
746     </dd>
747     </xsl:if>
748     <xsl:if test="$hasvolatile">
749     <dt>volatile</dt>
750     <dd>
751     <xsl:call-template name="output-version">
752     <xsl:with-param name="suite">volatile</xsl:with-param>
753     <xsl:with-param name="link">no</xsl:with-param>
754     </xsl:call-template>
755     </dd>
756     </xsl:if>
757     <xsl:if test="$hasother and $other/@new_version">
758 zack 2248 <dt title="waiting in the NEW queue for FTP master review">
759     <a href="http://ftp-master.debian.org/new.html">NEW</a>
760 zack 2232 </dt>
761     <dd>
762     <xsl:value-of select="$other/@new_version" />
763     </dd>
764     </xsl:if>
765     </dl>
766     </div>
767 zack 1768 </xsl:template>
768 hertzog 1090
769 hertzog 1887 <xsl:template name="ubuntu">
770     <xsl:if test="$other/@ubuntu='yes'">
771 zack 2232 <div class="block ubuntu">
772     <a name="ubuntu" />
773     <h2>ubuntu
774     <img src="../common/ubuntu.png" alt="ubuntu" />
775     <xsl:text> </xsl:text>
776     <xsl:call-template name="more-info-marker">
777     <xsl:with-param name="href">https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers</xsl:with-param>
778     <xsl:with-param name="title">Information about Ubuntu for Debian Developers</xsl:with-param>
779     </xsl:call-template>
780     </h2>
781 zack 1768 <ul>
782     <li>
783 zack 2232 version: <a href="{$other/ubuntu/@url}"><xsl:value-of select="$other/ubuntu/@version"/></a>
784 zack 1768 </li>
785 zack 2232 <xsl:if test="$other/ubuntu/patch">
786 zack 1768 <li>
787 zack 2232 <a href="{$other/ubuntu/patch/@url}">patches for
788     <xsl:value-of select="$other/ubuntu/patch/@version"/></a>
789 zack 1768 </li>
790     </xsl:if>
791 zack 2232 <xsl:if test="$other/ubuntu/bugs">
792 zack 2229 <li>
793 zack 2232 <a href="{$other/ubuntu/bugs/@url}"><xsl:value-of select="$other/ubuntu/bugs/@count"/>
794     bugs</a>
795 zack 2229 </li>
796     </xsl:if>
797 zack 1768 </ul>
798 zack 2232 </div>
799     </xsl:if>
800 zack 1768 </xsl:template>
801 hertzog 347
802 zack 2232 <xsl:template name="other-links">
803     <div class="block links">
804     <a name="links" />
805     <h2>links</h2>
806     <ul>
807     <xsl:if test="homepage">
808     <li><a title="upstream web homepage" href="{homepage}">homepage</a></li>
809     </xsl:if>
810     <li>
811     <xsl:element name="a">
812     <xsl:attribute name="href">
813     <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
814     <xsl:value-of select="directory"/>
815     <xsl:text>/current/changelog</xsl:text>
816     </xsl:attribute>
817     <xsl:text>changelog</xsl:text>
818     </xsl:element>
819     /
820     <xsl:element name="a">
821     <xsl:attribute name="href">
822     <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
823     <xsl:value-of select="directory"/>
824     <xsl:text>/current/copyright</xsl:text>
825     </xsl:attribute>
826     <xsl:text>copyright</xsl:text>
827     </xsl:element>
828     </li>
829     <xsl:if test="architecture!='all'">
830     <li>
831     <xsl:text>buildd: </xsl:text>
832     <a href="http://buildd.debian.org/pkg.cgi?pkg={$escaped-package}"
833     title="buildd.debian.org build logs">logs</a>
834     <xsl:text>, </xsl:text>
835     <!-- <a href="http://people.debian.org/~igloo/status.php?packages={$escaped-package}"
836     title="igloo's build logs on people.debian.org">more</a> -->
837     <a href="http://buildd.debian.org/~luk/status/package.php?p={$escaped-package}"
838     title="build logs on buildd.debian.org">more</a>
839     <xsl:text>, </xsl:text>
840     <!-- <a href="http://experimental.debian.net/build.php?pkg={$escaped-package}" -->
841     <!-- title="experimental.debian.net build logs">exp</a> -->
842     <xsl:if test="$hasexperimental">
843     <a href="http://experimental.debian.net/new/package.php?p={$escaped-package}&amp;suite=experimental"
844     title="experimental.debian.net build logs">exp</a>
845     <xsl:text>, </xsl:text>
846     </xsl:if>
847     <a href="http://buildd.debian-ports.org/status/package.php?p={$escaped-package}"
848     title="debian ports build logs">ports</a>
849     </li>
850     </xsl:if>
851     <xsl:if test="$hasother and $other/@piuparts='yes'">
852     <li>
853     <a title="report about errors found while stressing package installation"
854     href="http://piuparts.debian.org/sid/source/{$hash}/{$package}.html">piuparts</a>
855     </li>
856     </xsl:if>
857     <xsl:if test="($hasunstable and $other/debcheck/@unstable='yes')
858     or ($hastesting and $other/debcheck/@testing='yes')
859     or ($hasstable and $other/debcheck/@stable='yes')">
860     <li>
861     debcheck:
862     <xsl:if test="$hasunstable">
863     <xsl:text> </xsl:text>
864     <a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$escaped-package}">unstable</a>
865     </xsl:if>
866     <xsl:if test="$hastesting">
867     <xsl:text> </xsl:text>
868     <a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$escaped-package}">testing</a>
869     </xsl:if>
870     <xsl:if test="$hasstable">
871     <xsl:text> </xsl:text>
872     <a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$escaped-package}">stable</a>
873     </xsl:if>
874     </li>
875     </xsl:if>
876     <xsl:if test="$other/@lintian='yes'">
877     <xsl:variable name="lintian_url"><xsl:call-template name="mk_lintian_url" /></xsl:variable>
878     <li>
879     <a title="report about packaging issues spotted by lintian"
880     href="{$lintian_url}">lintian</a>
881     <!-- <xsl:if test="$lin_errs + $lin_warns > 0"> -->
882     <!-- <xsl:text> </xsl:text> -->
883     <!-- <small><span title="(errors, warnings)">(<span id="lintian_errors"><xsl:value-of select="$lin_errs" /></span>, -->
884     <!-- <span id="lintian_warnings"><xsl:value-of select="$lin_warns" /></span>)</span></small> -->
885     <!-- </xsl:if> -->
886     </li>
887     </xsl:if>
888     <li>
889     <a title="package popularity"
890     href="http://qa.debian.org/developer.php?popcon={$escaped-package}">popcon</a>
891     </li>
892     <xsl:if test="$other/@svnbuildstat='yes'">
893     <li>
894     <a href="http://svnbuildstat.debian.net/packages/info/{$escaped-package}">Svnbuildstat</a>
895     </li>
896     </xsl:if>
897     <xsl:if test="$other/i18n/@href">
898     <li>
899     <a title="translation status"
900     href="{$other/i18n/@href}">l10n</a>
901     <small>
902     (<span title="completeness of Debian string translation">
903     <xsl:value-of select="$other/i18n/@deb" />
904     </span>,
905     <span title="completeness of non-Debian string translation">
906     <xsl:value-of select="$other/i18n/@nondeb" />
907     </span>)
908     </small>
909     </li>
910     </xsl:if>
911     </ul>
912     </div>
913 zack 1768 </xsl:template>
914 hertzog 347
915 zack 1768 <xsl:template name="todo-list">
916 hertzog 347 <xsl:variable name="todo">
917 zack 1955 <xsl:call-template name="issue-nmu" />
918     <xsl:call-template name="issue-lintian" />
919     <xsl:call-template name="issue-mentors-pending" />
920     <xsl:call-template name="issue-comaintenance" />
921     <xsl:call-template name="issue-outdate-stdver" />
922     <xsl:call-template name="issue-new-upstream" />
923     <xsl:call-template name="issue-patches" />
924 zack 2230 <xsl:call-template name="issue-l10n" />
925 hertzog 347 <xsl:if test="$hasother">
926     <xsl:for-each select="$other/todo/item">
927 zack 1955 <xsl:call-template name="outputitem" />
928 hertzog 347 </xsl:for-each>
929     </xsl:if>
930     </xsl:variable>
931 zack 2232
932 hertzog 372 <xsl:if test="count($todo)>0 and string($todo)!=''">
933 zack 2232 <div class="block todo">
934     <a name="todo" />
935     <h2>todo</h2>
936     <ul>
937     <xsl:copy-of select="$todo" />
938     </ul>
939     </div>
940 hertzog 347 </xsl:if>
941 zack 1768 </xsl:template>
942    
943     <xsl:template name="problems">
944 hertzog 347 <xsl:variable name="problems">
945 zack 1955 <xsl:call-template name="issue-testing-excuses" />
946 zack 2048 <xsl:call-template name="issue-piuparts" />
947 zack 1955 <xsl:call-template name="issue-ancient-stdver" />
948     <xsl:call-template name="issue-item-dead-package" />
949     <xsl:call-template name="issue-item-override-disparity" />
950     <xsl:call-template name="issue-item-help-bugs" />
951     <xsl:call-template name="issue-item-wnpp" />
952     <!-- <xsl:call-template name="issue-item-watch-failure" /> -->
953     <xsl:call-template name="issue-item-dehs-failure" />
954 hertzog 347 <xsl:if test="$hasother">
955     <xsl:for-each select="$other/problems/item">
956 zack 1768 <xsl:call-template name="outputitem"/>
957 hertzog 347 </xsl:for-each>
958     </xsl:if>
959     </xsl:variable>
960 zack 2232
961 hertzog 372 <xsl:if test="count($problems)>0 and string($problems)!=''">
962 zack 2232 <div class="block problems">
963     <a name="problems" />
964     <h2>problems</h2>
965     <ul>
966     <xsl:copy-of select="$problems" />
967     </ul>
968     </div>
969 hertzog 347 </xsl:if>
970 zack 1768 </xsl:template>
971 hertzog 347
972 zack 1768 <xsl:template name="testing-status">
973 zack 1866 <xsl:if test="$hasexcuse or $other/@transitions='yes'">
974 zack 2232 <div class="block testing">
975     <a name="testing" />
976     <h2>testing migration</h2>
977     <xsl:if test="$other/@transitions='yes'">
978     <xsl:variable name="translist">
979     <xsl:for-each select="$other/transitions/transition">
980     <xsl:value-of select="@name" />
981     <xsl:if test="position() != last()"> <xsl:text> </xsl:text>
982     </xsl:if>
983     </xsl:for-each>
984     </xsl:variable>
985     <xsl:variable name="transno"
986     select="count($other/transitions/transition)" />
987     <div class="warning">
988 zack 1955 <!-- XXX unappropriate <ul>, just to make the text looks like other
989 zack 2232 boxes, should be fixed on the CSS side (getting rid of <ul>) -->
990     <p>This package is part of <em><xsl:value-of select="$transno" /> ongoing
991     testing transition<xsl:if test="$transno != '1'">s</xsl:if></em>
992     (namely: <tt><xsl:value-of select="$translist" /></tt>). For
993     more information see the
994     <a href="http://ftp-master.debian.org/transitions.yaml">transition
995     status file</a>.<br />
996     <em>Uploads to unstable will be rejected</em> while
997     transitions are ongoing; you might want to upload to
998     experimental in the meantime, or
999     contact <tt><a href="mailto:debian-release@lists.debian.org">debian-release</a></tt>
1000     if an upload is really necessary.
1001     </p>
1002     </div>
1003 zack 1955 </xsl:if>
1004     <xsl:if test="$hasexcuse">
1005 zack 2232 <a title="reasons why the package is not moving to testing"
1006     href="http://qa.debian.org/excuses.php?package={$package}">excuses</a>:
1007     <ul class="testing-excuses">
1008     <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
1009     <xsl:call-template name="outputitem"/>
1010     </xsl:for-each>
1011     </ul>
1012 zack 1955 </xsl:if>
1013 zack 2232 </div>
1014     </xsl:if>
1015     </xsl:template>
1016 zack 1768
1017 zack 2232 <xsl:template name="static-info">
1018     <xsl:call-template name="output-static">
1019     <xsl:with-param name="static" select="$static" />
1020     </xsl:call-template>
1021     </xsl:template>
1022 zack 1768
1023 zack 2232 <xsl:template name="latest-news">
1024     <xsl:call-template name="output-news">
1025     <xsl:with-param name="news" select="$news" />
1026     </xsl:call-template>
1027     </xsl:template>
1028 hertzog 347
1029 zack 2232 <xsl:variable name="static">
1030     <xsl:if test="$hasnews">
1031     <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
1032     <xsl:call-template name="outputitem"/>
1033     </xsl:for-each>
1034     </xsl:if>
1035     </xsl:variable>
1036 zack 1768
1037 zack 2232 <xsl:variable name="news">
1038     <xsl:if test="$hasnews">
1039     <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
1040     <xsl:call-template name="outputitem"/>
1041     </xsl:for-each>
1042     </xsl:if>
1043     </xsl:variable>
1044 zack 1768
1045 zack 2232 <!-- All the work is done in a single template -->
1046     <xsl:template match="source">
1047 zack 1768
1048 zack 2232 <!-- Start of html -->
1049     <html>
1050     <head>
1051     <meta name="ROBOTS" content="NOFOLLOW"/>
1052     <link type="text/css" title="User selected" rel="stylesheet" href="../common/default.css"/>
1053     <link type="text/css" title="Official" rel="alternate stylesheet" href="../common/revamp.css"/>
1054     <link type="text/css" title="Legacy PTS" rel="alternate stylesheet" href="../common/pts.css"/>
1055     <link type="text/css" title="Compact rendering" rel="alternate stylesheet" href="../common/compact.css"/>
1056     <script type="text/javascript" src="../common/pts.js"></script>
1057     <xsl:if test="count($news)>0 and string($news)!=''">
1058     <link rel="alternate" type="application/rss+xml" title="RSS"
1059 zack 1955 href="{$package}/news.rss20.xml" />
1060 zack 2232 </xsl:if>
1061     <title>Debian Package Tracking System -
1062     <xsl:value-of select="$package"/></title>
1063     </head>
1064     <body onload="javascript:onLoad();">
1065     <div class="quickform" style="float: right;">
1066     <form title="jump to the PTS page of another source package"
1067     method="get" action="/common/index.html">
1068     <p>
1069     <input type="text" size="14" name="src" value=""/>
1070     <input type="submit" value="jump to" />
1071     </p>
1072     </form>
1073     </div>
1074 zack 1768
1075 zack 2232 <h1>
1076     <xsl:value-of select="$package"/><br />
1077     <small>source package</small>
1078     </h1>
1079 zack 1768
1080 zack 2232 <div id="body">
1081     <xsl:choose>
1082     <xsl:when test="$removed='yes'">
1083     <div class="block removed">
1084     <p>This package is not part of any Debian
1085     distribution. Thus you won't find much information
1086     here. The package is either very new and hasn't
1087     appeared on mirrors yet, or it's an old package that
1088     eventually got removed. The old news are kept for
1089     historic purpose only.</p>
1090     <xsl:call-template name="static-info" />
1091     <xsl:call-template name="latest-news" />
1092 zack 1955 </div>
1093 zack 2232 </xsl:when>
1094     <xsl:otherwise> <!-- non removed package -->
1095     <div class="left maincol">
1096     <xsl:call-template name="general-information" />
1097     <xsl:call-template name="available-versions" />
1098     <xsl:call-template name="binary-packages" />
1099     </div>
1100     <div class="center maincol">
1101     <xsl:call-template name="todo-list" />
1102     <xsl:call-template name="problems" />
1103     <xsl:call-template name="testing-status" />
1104     <xsl:call-template name="static-info" />
1105     <xsl:call-template name="latest-news" />
1106     </div>
1107     <div class="right maincol">
1108     <xsl:call-template name="bugs-count" />
1109     <xsl:call-template name="other-links" />
1110     <xsl:call-template name="ubuntu" />
1111     </div>
1112     </xsl:otherwise>
1113     </xsl:choose>
1114 zack 1955
1115 zack 2232 <hr/>
1116     <div class="footer">
1117     <table width="100%">
1118     <tr>
1119     <td>
1120     <div class="quickform">
1121     <form id="csspref-form" method="get"
1122     action="/common/set-csspref.php">
1123     <p>
1124     change skin:
1125     <select name="csspref" onchange="javascript:onChangeStyle();">
1126     <option value="revamp.css">default</option>
1127     <option value="compact.css">compact</option>
1128     <option value="pts.css">legacy</option>
1129     </select>
1130     </p>
1131     </form>
1132     </div>
1133     <div class="quickform">
1134     <xsl:call-template name="pts-subscription" />
1135     </div>
1136     </td>
1137     <td>
1138     <p>
1139     <em><a href="http://www.debian.org">Debian</a>
1140     Package Tracking System</em> - Copyright ©
1141     2002-2009 Raphaël Hertzog, Stefano Zacchiroli and
1142     others.<br/> Report problems to the
1143     <a href="http://bugs.debian.org/qa.debian.org"><tt>qa.debian.org</tt>
1144     pseudopackage</a> in the <a href="http://bugs.debian.org">Debian
1145     <acronym title="Bug Tracking System">BTS</acronym></a>.<br/>
1146     Last modified: <xsl:value-of select="$date"/>.
1147     </p>
1148     </td>
1149     <td>
1150     <a href="http://validator.w3.org/check?uri=referer">
1151     <img
1152     src="http://www.w3.org/Icons/valid-xhtml10-blue"
1153     alt="Valid XHTML 1.0 Strict" height="31" width="88" />
1154     </a>
1155     </td>
1156     </tr>
1157     </table>
1158     </div>
1159     </div>
1160     </body>
1161     </html>
1162     </xsl:template>
1163    
1164 zack 1957 </xsl:stylesheet>

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5