/[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 2335 - (hide annotations) (download) (as text)
Sun Jan 24 14:27:40 2010 UTC (3 years, 4 months ago) by zack
File MIME type: application/xml
File size: 40940 byte(s)
comment out skin selection form: will add news on misc developer news about that

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