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

Diff of /trunk/pts/www/xsl/pts.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1765 by zack, Fri Nov 30 22:49:59 2007 UTC revision 2712 by pabs, Tue Feb 14 06:12:34 2012 UTC
# Line 1  Line 1 
1  <?xml version="1.0" encoding="utf-8" ?>  <?xml version="1.0" encoding="utf-8" ?>
2    
3  <!--  <!--
4  # Copyright 2002-2005 Raphaël Hertzog and others  # Copyright © 2002-2011 Raphaël Hertzog and others
5    # Copyright © 2007-2009 Stefano Zacchiroli
6  # This file is distributed under the terms of the General Public License  # This file is distributed under the terms of the General Public License
7  # version 2 or (at your option) any later version.  # version 2 or (at your option) any later version.
8  -->  -->
9    
10  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">  <xsl:stylesheet
11      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12      xmlns="http://www.w3.org/1999/xhtml"
13      xmlns:str="http://exslt.org/strings"
14      version="1.0">
15    
16    <xsl:output
17      method="xml"
18      encoding="UTF-8"
19      omit-xml-declaration="yes"
20      doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
21      doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
22      indent="yes" />
23    
24  <xsl:output encoding="UTF-8" method="html"/>  <xsl:include href="pts-issues.xsl" />
25    
26  <xsl:param name="package"/>  <xsl:param name="package"/>
27  <xsl:param name="dir"/>  <xsl:param name="dir"/>
# Line 18  Line 31 
31  <xsl:param name="hastesting" select="''"/>  <xsl:param name="hastesting" select="''"/>
32  <xsl:param name="hasunstable" select="''"/>  <xsl:param name="hasunstable" select="''"/>
33  <xsl:param name="hasexperimental" select="''"/>  <xsl:param name="hasexperimental" select="''"/>
34    <xsl:param name="hasmentors" select="''"/>
35  <xsl:param name="hasother" select="''"/>  <xsl:param name="hasother" select="''"/>
36  <xsl:param name="hass-p-u" select="''"/>  <xsl:param name="hasstable-proposed-updates" select="''"/>
37  <xsl:param name="hast-p-u" select="''"/>  <xsl:param name="hastesting-proposed-updates" select="''"/>
38  <xsl:param name="hasoldstable-security" select="''"/>  <xsl:param name="hassecurity-oldstable" select="''"/>
39  <xsl:param name="hasstable-security" select="''"/>  <xsl:param name="hassecurity-stable" select="''"/>
40  <xsl:param name="hastesting-security" select="''"/>  <xsl:param name="hassecurity-testing" select="''"/>
41  <xsl:param name="hassecure-testing" select="''"/>  <xsl:param name="hasoldstable-updates" select="''"/>
42  <xsl:param name="hasvolatile" select="''"/>  <xsl:param name="hasstable-updates" select="''"/>
43    <xsl:param name="hasoldstable-backports" select="''"/>
44    <xsl:param name="hasstable-backports" select="''"/>
45  <xsl:param name="hasnews" select="''"/>  <xsl:param name="hasnews" select="''"/>
46  <xsl:param name="hasexcuse" select="''"/>  <xsl:param name="hasexcuse" select="''"/>
47    
48  <xsl:variable name="other" select="document(concat('../base/', $dir, '/other.xml'))/other"/>  <xsl:variable name="other"
49      select="document(concat('../base/', $dir, '/other.xml'))/other"/>
50    <xsl:variable name="low-nmu-emails"
51      select="document('../base/low_threshold_nmu.emails.xml')/emails"/>
52    <xsl:variable name="mostrecentsuite">
53      <!-- name of the most recent suite in which the package is available
54      -->
55      <xsl:choose>
56        <xsl:when test="$hasexperimental">
57          <xsl:text>experimental</xsl:text>
58        </xsl:when>
59        <xsl:when test="$hasunstable">
60          <xsl:text>unstable</xsl:text>
61        </xsl:when>
62        <xsl:when test="$hastesting">
63          <xsl:text>testing</xsl:text>
64        </xsl:when>
65        <xsl:when test="$hasstable">
66          <xsl:text>stable</xsl:text>
67        </xsl:when>
68        <xsl:otherwise>
69          <xsl:text />
70        </xsl:otherwise>
71      </xsl:choose>
72    </xsl:variable>
73    <xsl:variable name="pooldir">
74      <xsl:if test="$mostrecentsuite != ''">
75        <xsl:value-of
76           select="document(concat('../base/', $dir, '/',
77                   $mostrecentsuite, '.xml'))/source/directory" />
78      </xsl:if>
79    </xsl:variable>
80    
81  <!-- Those variables controls the todo and problem item concerning  <!-- Those variables controls the todo and problem item concerning
82       standards-version not being up to date -->       standards-version not being up to date -->
83  <xsl:variable name="lastsv" select="'3.7.2'"/>  <xsl:variable name="lastsv" select="'3.9.2'"/>
84  <xsl:variable name="lastmajorsv" select="'3.'"/>  <xsl:variable name="lastmajorsv" select="'3.'"/>
85    
86    <!-- lintian summary -->
87    <xsl:variable name="lin_errs" select="$other/lintian/@errors" />
88    <xsl:variable name="lin_warns" select="$other/lintian/@warnings" />
89    
90    <!-- buildd log check summary -->
91    <xsl:variable name="logcheck_errs" select="$other/logcheck/@errors" />
92    <xsl:variable name="logcheck_warns" select="$other/logcheck/@warnings" />
93    
94  <!-- Named templates aka functions -->  <!-- Named templates aka functions -->
95  <xsl:template name="mirror">  
96    <xsl:text>http://ftp.debian.org/debian</xsl:text>  <xsl:template name="mk_lintian_url">
97      <!-- convert maintainer/name to follow lintian.debian.org convention -->
98      <xsl:variable name="lintian_pattern" select="concat('àáèéëêòöøîìùñ~/()&#34; ', &quot;'&quot;)"/>
99      <xsl:variable name="lintian_email" select="translate(maintainer/email, $lintian_pattern, '_____________________')"/>
100    
101      <xsl:text>http://lintian.debian.org/maintainer/</xsl:text>
102      <xsl:value-of select="$lintian_email" />
103      <xsl:text>.html#</xsl:text>
104      <xsl:value-of select="$package" />
105  </xsl:template>  </xsl:template>
106    
107    <xsl:template name="mk_logcheck_url">
108      <xsl:text>http://buildd.debian.org/~brlink/packages/</xsl:text>
109      <xsl:value-of select="substring($package,1,1)"/>
110      <xsl:text>/</xsl:text>
111      <xsl:value-of select="$package" />
112      <xsl:text>.html</xsl:text>
113    </xsl:template>
114    
115    <xsl:variable name="mirror">http://cdn.debian.net/debian</xsl:variable>
116    <xsl:variable name="security-mirror">http://security.debian.org/debian-security</xsl:variable>
117    <xsl:variable name="backports-mirror">http://backports.debian.org/debian-backports</xsl:variable>
118    
119  <xsl:template name="outputitem">  <xsl:template name="outputitem">
120    <xsl:choose>    <xsl:choose>
121      <xsl:when test="@url">      <xsl:when test="@url">
# Line 54  Line 129 
129          <xsl:value-of select="@from"/>          <xsl:value-of select="@from"/>
130          <xsl:text>)</xsl:text></xsl:if></li>          <xsl:text>)</xsl:text></xsl:if></li>
131      </xsl:when>      </xsl:when>
132        <xsl:when test="@type='raw'">
133          <li>
134            <xsl:copy-of select="node()" />
135          </li>
136        </xsl:when>
137      <xsl:otherwise>      <xsl:otherwise>
138        <li><xsl:if test="@date">        <li><xsl:if test="@date">
139          <xsl:text>[</xsl:text>          <xsl:text>[</xsl:text>
# Line 80  other-to-%xx, especially % to %25... For Line 160  other-to-%xx, especially % to %25... For
160    </xsl:if>    </xsl:if>
161  </xsl:template>  </xsl:template>
162    
163    <xsl:variable name="escaped-package">
164      <xsl:call-template name="escape-name">
165        <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
166      </xsl:call-template>
167    </xsl:variable>
168    
169  <!-- Strip epoch -->  <!-- Strip epoch -->
170  <xsl:template name="strip-epoch">  <xsl:template name="strip-epoch">
171    <xsl:param name="version"/>    <xsl:param name="version"/>
# Line 93  other-to-%xx, especially % to %25... For Line 179  other-to-%xx, especially % to %25... For
179    
180  <xsl:template name="add-vcs-info">  <xsl:template name="add-vcs-info">
181    <xsl:if test="repository">    <xsl:if test="repository">
182      <tr>      <dt title="Version Control System">VCS</dt>
183        <td class="labelcell">      <dd>
184          <xsl:text>Version Control</xsl:text>        <xsl:if test="repository/vcs[@kind!='browser']">
185        </td>          <xsl:for-each select="repository/vcs[@kind!='browser']">
186        <td class="contentcell">            <xsl:sort select="@kind" />
187          <xsl:if test="repository/vcs[@kind='browser']">            <a title="raw {@kind} repository" href="{@url}">
188            <a href="{repository/vcs[@kind='browser']/@url}">              <xsl:value-of select="@kind" />
             <xsl:text>browser</xsl:text>  
189            </a>            </a>
190            <br />            <xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
191          </xsl:if>          </xsl:for-each>
192          <xsl:if test="repository/vcs[@kind!='browser']">        </xsl:if>
193            <xsl:text>raw: </xsl:text>        <xsl:if test="repository/vcs[@kind='browser']">
194            <xsl:for-each select="repository/vcs[@kind!='browser']">          <xsl:text> (</xsl:text>
195              <xsl:sort select="@kind" />          <a title="browse the repository"
196              <a href="{@url}">             href="{repository/vcs[@kind='browser']/@url}">browse</a>
197                <xsl:value-of select="@kind" />            <xsl:text>)</xsl:text>
198              </a>        </xsl:if>
199              <xsl:if test="position()!=last()">      </dd>
               <xsl:text>, </xsl:text>  
             </xsl:if>  
           </xsl:for-each>  
         </xsl:if>  
       </td>  
     </tr>  
200    </xsl:if>    </xsl:if>
201  </xsl:template>  </xsl:template>
202    
203  <xsl:template name="add-maintenance-info">  <xsl:template name="add-maintenance-info">
204      <xsl:param name="email" />
205    <xsl:variable name="dm">    <xsl:variable name="dm">
206      <xsl:if test="dm-upload-allowed and string(dm-upload-allowed)='yes'">      <xsl:if test="dm-upload-allowed and string(dm-upload-allowed)='yes'">
207        <xsl:text>true</xsl:text>        <xsl:text>true</xsl:text>
208      </xsl:if>      </xsl:if>
209    </xsl:variable>    </xsl:variable>
210    <xsl:variable name="lownmu">    <xsl:variable name="lownmu">
211      <xsl:if test="maintainer/low-threshold-nmu      <xsl:if test="$low-nmu-emails/email[text()=$email]">
         and string(maintainer/low-threshold-nmu)='yes'">  
212        <xsl:text>true</xsl:text>        <xsl:text>true</xsl:text>
213      </xsl:if>      </xsl:if>
214    </xsl:variable>    </xsl:variable>
215    
216    <xsl:if test="string($dm)!='' or string($lownmu)!=''">    <xsl:if test="string($dm)!='' or string($lownmu)!=''">
217      <tr>      <div class="maint-markers">
218        <td class="labelcell">      <xsl:if test="string($dm)!=''">
219          <xsl:text>Maintenance info</xsl:text>        <span class="dm-tag">
220        </td>          <a href="http://www.debian.org/vote/2007/vote_003">
221        <td class="contentcell">            <acronym title="Debian Maintainer Upload Allowed: this package can be uploaded by Debian Maintainers">DMUA</acronym>
222            </a>
223          <xsl:if test="string($dm)!=''">        </span>
224            <span class="dm-tag">      </xsl:if>
225              <a href="http://www.debian.org/vote/2007/vote_003"><acronym title="Debian Maintainer Upload Allowed: can be uploaded by Debian Maintainers">DMUA</acronym></a>      <xsl:if test="string($lownmu)!=''">
226            </span>        <xsl:if test="string($dm)!=''">
227          </xsl:if>          <xsl:text>, </xsl:text>
228          </xsl:if>
229          <xsl:if test="string($lownmu)!=''">        <span class="lownmu-tag">
230            <span class="lownmu-tag">          <a href="http://wiki.debian.org/LowThresholdNmu">
231              <a href="http://wiki.debian.org/LowThresholdNmu"><acronym            <acronym title="maintainer agrees with Low Threshold NMU">LowNMU</acronym>
232                  title="maintainer agrees with Low Threshold NMU, see wiki page for details">LowNMU</acronym></a>          </a>
233            </span>        </span>
234          </xsl:if>      </xsl:if>
235        </td>      </div>
     </tr>  
236    </xsl:if>    </xsl:if>
237  </xsl:template>  </xsl:template>
238    
# Line 162  other-to-%xx, especially % to %25... For Line 240  other-to-%xx, especially % to %25... For
240    <xsl:param name="news" />    <xsl:param name="news" />
241    
242    <xsl:if test="count($news)>0 and string($news)!=''">    <xsl:if test="count($news)>0 and string($news)!=''">
243      <tr class="titlerow">      <div class="block news">
244      <td class="titlecell">        <a name="news" />
245        Latest News <a class="feedlink" href="{$package}/news.rss20.xml">RSS</a>        <h2>news <a class="feedlink" href="{$package}/news.rss20.xml">RSS</a></h2>
246      </td></tr>        <ul id="news-list">
247      <tr class="normalrow">          <xsl:copy-of select="$news" />
248      <td class="contentcell2">        </ul>
249      <ul><xsl:copy-of select="$news"/></ul>      </div>
     </td>  
     </tr>  
250    </xsl:if>    </xsl:if>
251  </xsl:template>  </xsl:template>
252    
# Line 178  other-to-%xx, especially % to %25... For Line 254  other-to-%xx, especially % to %25... For
254    <xsl:param name="static" />    <xsl:param name="static" />
255    
256    <xsl:if test="count($static)>0 and string($static)!=''">    <xsl:if test="count($static)>0 and string($static)!=''">
257      <tr class="titlerow">      <div class="block static">
258      <td class="titlecell">        <a name="static" />
259      Static Information        <h2>static info</h2>
260      </td></tr>        <ul>
261      <tr class="normalrow">          <xsl:copy-of select="$static" />
262      <td class="contentcell2">        </ul>
263      <ul><xsl:copy-of select="$static"/></ul>      </div>
     </td>  
     </tr>  
264    </xsl:if>    </xsl:if>
265  </xsl:template>  </xsl:template>
266    
 <xsl:template name="categorize-srcfile">  
   <!-- used to recognize (and tag afterwards) well-known type of source package  
     components: dsc, diff, orig -->  
   <xsl:choose>  
     <xsl:when test="substring(filename,string-length(filename)-2, 3)='dsc'">  
       <xsl:text>dsc</xsl:text>  
     </xsl:when>  
     <xsl:when test="substring(filename,string-length(filename)-6, 7)='diff.gz'">  
       <xsl:text>diff</xsl:text>  
     </xsl:when>  
     <xsl:when test="substring(filename,string-length(filename)-10, 8)='orig.tar'">  
       <xsl:text>orig</xsl:text>  
     </xsl:when>  
     <xsl:otherwise><xsl:text></xsl:text></xsl:otherwise>  
   </xsl:choose>  
 </xsl:template>  
   
267  <xsl:template name="maintainer-email">  <xsl:template name="maintainer-email">
268    <xsl:param name="email" />    <xsl:param name="email" />
269    <a class="email" href="mailto:{$email}">    <a class="email" href="mailto:{$email}">
# Line 214  other-to-%xx, especially % to %25... For Line 271  other-to-%xx, especially % to %25... For
271    </a>    </a>
272  </xsl:template>  </xsl:template>
273    
274  <xsl:variable name="static">  <xsl:template name="general-information">
275    <xsl:if test="$hasnews">    <div class="block info">
276      <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">      <a name="general" />
277        <xsl:call-template name="outputitem"/>      <h2>general</h2>
278      </xsl:for-each>      <dl>
279    </xsl:if>        <dt>source</dt>
280  </xsl:variable>        <dd>
281            <a href="http://packages.debian.org/src:{$package}">
282              <xsl:value-of select="$package" />
283            </a>
284            (<span id="priority" title="priority">
285              <small><xsl:value-of select="priority"/></small>
286            </span>,
287            <span id="section" title="section">
288              <small><xsl:value-of select="section"/></small>
289            </span>)
290          </dd>
291    
292          <dt>version</dt>
293          <dd>
294            <span id="latest_version"><xsl:value-of select="version"/></span>
295          </dd>
296    
297          <xsl:if test="@release!='unstable'">
298            <dt>distro</dt>
299            <dd><xsl:value-of select="@release"/></dd>
300          </xsl:if>
301    
302  <xsl:variable name="news">        <dt title="Maintainer and Uploaders">maint</dt>
303    <xsl:if test="$hasnews">        <dd class="maintainer">
304      <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">          <xsl:element name="a">
305        <xsl:call-template name="outputitem"/>            <xsl:attribute name="href">
306      </xsl:for-each>              <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
307    </xsl:if>              <xsl:call-template name="escape-name">
308  </xsl:variable>                <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
309                </xsl:call-template>
310              </xsl:attribute>
311              <span class="name" title="maintainer">
312                <xsl:value-of select="maintainer/name"/>
313              </span>
314            </xsl:element>
315            <xsl:if test="uploaders">
316              <xsl:for-each select="uploaders/item">
317                <xsl:text>, </xsl:text>
318                <span class="uploader">
319                  <small>
320                  <xsl:element name="a">
321                    <xsl:attribute name="href">
322                      <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
323                      <xsl:call-template name="escape-name">
324                        <xsl:with-param name="text">
325                          <xsl:value-of select="email"/>
326                        </xsl:with-param>
327                      </xsl:call-template>
328                    </xsl:attribute>
329                    <span class="name" title="uploader">
330                      <xsl:value-of select="name"/>
331                    </span>
332                  </xsl:element>
333                  <xsl:text> (u)</xsl:text>
334                  </small>
335                </span>
336              </xsl:for-each>
337            </xsl:if>
338            <xsl:call-template name='add-maintenance-info'>
339              <xsl:with-param name="email" select="maintainer/email" />
340            </xsl:call-template>
341          </dd>
342    
343  <!-- All the work is done in a single template -->        <xsl:if test="architecture!='any' and architecture!='all'">
344  <xsl:template match="source">          <dt>arch</dt>
345            <dd><xsl:value-of select="architecture"/></dd>
346          </xsl:if>
347    
348    <!-- Start of html -->        <dt title="Standards-Version">std-ver</dt>
349    <xsl:text disable-output-escaping="yes">        <dd>
350    &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"&gt;          <span id="standards_version">
351    </xsl:text>            <xsl:value-of select="standards-version"/>
352    <html>          </span>
353    <head>        </dd>
   <meta name="ROBOTS" content="NOFOLLOW"/>  
   <link type="text/css" title="Default" rel="stylesheet" href="../common/pts.css"/>  
   <link type="text/css" title="Standard link rendering" rel="alternate stylesheet" href="../common/pts2.css"/>  
   <link type="text/css" title="Compact rendering" rel="alternate stylesheet" href="../common/compact.css"/>  
   <xsl:if test="count($news)>0 and string($news)!=''">  
     <link rel="alternate" type="application/rss+xml" title="RSS"  
       href="{$package}/news.rss20.xml" />  
   </xsl:if>  
   <title>Overview of <xsl:value-of select="$package"/> source package</title>  
   </head>  
   <body>  
   
   <form method="get" action="/common/index.html" style="float: right;">  
   <!-- this link should make lynx/links happy [FG] -->  
   <p>Jump to package (<a href="/">home page</a>): <br/>  
   <input type="text" name="src" value=""/></p>  
   </form>  
   <h1>Overview of  
   <xsl:element name="a">  
     <xsl:attribute name="href">  
       <xsl:text>http://packages.debian.org/src:</xsl:text>  
        <xsl:value-of select="$package"/>  
     </xsl:attribute>  
    <xsl:value-of select="$package"/>  
   </xsl:element>  
   source package</h1>  
354    
355    <div id="body">        <xsl:call-template name='add-vcs-info' />
356    <xsl:choose>      </dl>
357    <xsl:when test="$removed='yes'">    </div>
358    <!-- REMOVED PACKAGE -->  </xsl:template>
   <p>This package is not part of any Debian distribution. Thus you won't  
   find much information here. The package is either very new and hasn't  
   appeared on mirrors yet, or it's an old package that eventually got removed.  
   The old news are kept for historic purpose only.</p>  
   
   <table class="righttable">  
     <xsl:call-template name="output-static">  
       <xsl:with-param name="static" select="$static" />  
     </xsl:call-template>  
     <xsl:call-template name="output-news">  
       <xsl:with-param name="news" select="$news" />  
     </xsl:call-template>  
   </table>  
359    
360    <!-- END REMOVED PACKAGE -->  <xsl:template name="bugs-count">
361    </xsl:when>    <div class="block bugs">
362    <xsl:otherwise>      <a name="bugs" />
363    <!-- NON REMOVED PACKAGE -->      <h2>bugs</h2>
364        <dl>
365    <table class="containertable">        <dt id="bugs_all">
366    <tr class="containerrow" valign="top">          all
367    <td class="containercell">          <xsl:element name="a">
368    <!-- LEFT SIDE -->            <xsl:attribute name="href">
369    <table class="lefttable">              <xsl:text>http://qa.debian.org/data/bts/graphs/</xsl:text>
370    <tr class="titlerow">              <xsl:value-of select="$dir"/>
371    <td class="titlecell" colspan="2">              <xsl:text>.png</xsl:text>
372    General information            </xsl:attribute>
373    </td></tr>            <xsl:attribute name="title">bug history graph</xsl:attribute>
374    <tr class="normalrow">            <img alt="bug history graph" src="../common/bug-graph.png" />
375    <td class="labelcell">Latest version</td>          </xsl:element>
376    <td class="contentcell"><xsl:value-of select="version"/></td>        </dt>
377    </tr>        <dd>
378    <xsl:if test="@release!='unstable'">          <xsl:element name="a">
379    <tr class="normalrow">            <xsl:attribute name="href">
380    <td class="labelcell">Distribution</td>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&amp;src=</xsl:text>
381    <td class="contentcell"><xsl:value-of select="@release"/></td>              <xsl:value-of select="$escaped-package" />
382    </tr>            </xsl:attribute>
383    </xsl:if>            <xsl:if test="$hasother">
384    <tr class="normalrow">              <span class="bugcount" title="all">
385    <td class="labelcell">Maintainer</td>                <xsl:value-of select="$other/bugs/@all"/>
386    <td class="contentcell">              </span>
387    <xsl:element name="a">            </xsl:if>
388      <xsl:attribute name="href">          </xsl:element>
389        <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>          <xsl:if test="$hasother and $other/bugs/@all_m">
390        <xsl:call-template name="escape-name">            (<xsl:element name="a">
391          <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>              <xsl:attribute name="href">
392        </xsl:call-template>                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=yes&amp;src=</xsl:text>
393      </xsl:attribute>                <xsl:value-of select="$escaped-package" />
394      <xsl:value-of select="maintainer/name"/>              </xsl:attribute>
395    </xsl:element>              <xsl:value-of select="$other/bugs/@all_m"/>
396    <xsl:text> </xsl:text>            </xsl:element>)
397    <xsl:call-template name="maintainer-email">          </xsl:if>
398      <xsl:with-param name="email" select="maintainer/email" />        </dd>
399    </xsl:call-template>        <dt id="bugs_rc" title="Release Critical">
400    </td>          <span class="indented">RC</span>
401    </tr>        </dt>
402    <tr class="normalrow">        <dd>
403    <td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s-collaborative-maint">Co-Maintainers</a></td>          <xsl:element name="a">
404    <td class="contentcell">            <xsl:attribute name="href">
405    <xsl:if test="uploaders">              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
406      <xsl:for-each select="uploaders/item">              <xsl:value-of select="$escaped-package" />
407        <xsl:element name="a">              <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>
408          <xsl:attribute name="href">            </xsl:attribute>
409            <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>            <xsl:if test="$hasother">
410            <xsl:call-template name="escape-name">              <span class="bugcount" title="rc">
411              <xsl:with-param name="text"><xsl:value-of select="email"/></xsl:with-param>                <xsl:value-of select="$other/bugs/@rc"/>
412            </xsl:call-template>              </span>
413          </xsl:attribute>            </xsl:if>
414          <xsl:value-of select="name"/>          </xsl:element>
415        </xsl:element>          <xsl:if test="$hasother and $other/bugs/@rc_m">
416        <xsl:text> </xsl:text>            (<xsl:element name="a">
417        <xsl:call-template name="maintainer-email">              <xsl:attribute name="href">
418          <xsl:with-param name="email" select="email" />                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
419        </xsl:call-template>                <xsl:value-of select="$escaped-package" />
420        <br />                <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>
421      </xsl:for-each>              </xsl:attribute>
422    </xsl:if>              <xsl:value-of select="$other/bugs/@rc_m"/>
423    <xsl:if test="not(uploaders)">            </xsl:element>)
424      <a class="none" title="You should find some co-maintainers ..." name="fake">None</a>          </xsl:if>
425    </xsl:if>        </dd>
426    <xsl:call-template name='add-maintenance-info' />        <dt id="bugs_in" title="Important and Normal">
427    </td></tr>          <span class="indented">I&amp;N</span>
428    <tr class="normalrow">        </dt>
429    <td class="labelcell">Standards-Version</td>        <dd>
430    <td class="contentcell"><xsl:value-of select="standards-version"/></td>          <xsl:element name="a">
431    </tr>            <xsl:attribute name="href">
432    <tr class="normalrow">              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
433    <td class="labelcell">Priority &amp; Section</td>              <xsl:value-of select="$escaped-package" />
434    <td class="contentcell"><xsl:value-of select="priority"/> - <xsl:value-of select="section"/></td>              <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>
435    </tr>            </xsl:attribute>
436    <xsl:call-template name='add-vcs-info' />            <xsl:if test="$hasother">
437    <xsl:if test="architecture!='any' and architecture!='all'">              <span class="bugcount" title="in">
438    <tr class="normalrow">                <xsl:value-of select="$other/bugs/@normal"/>
439    <td class="labelcell">Architecture</td>              </span>
440    <td class="contentcell"><xsl:value-of select="architecture"/></td>            </xsl:if>
441    </tr>          </xsl:element>
442    </xsl:if>          <xsl:if test="$hasother and $other/bugs/@normal_m">
443              (<xsl:element name="a">
444    <tr class="titlerow">              <xsl:attribute name="href">
445    <td class="titlecell" colspan="2">                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
446    Bugs count                <xsl:value-of select="$escaped-package" />
447    </td></tr>                <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>
448    <tr class="normalrow" id="bugs_all">              </xsl:attribute>
449    <td class="labelcell">All bugs</td>              <xsl:value-of select="$other/bugs/@normal_m"/>
450    <td class="contentcell">            </xsl:element>)
451    <xsl:element name="a">          </xsl:if>
452      <xsl:attribute name="href">        </dd>
453        <xsl:text>http://bugs.debian.org/src:</xsl:text>        <dt id="bugs_mw" title="Minor and Wishlist">
454        <xsl:call-template name="escape-name">          <span class="indented">M&amp;W</span>
455          <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>        </dt>
456        </xsl:call-template>        <dd>
457      </xsl:attribute>          <xsl:element name="a">
458      <xsl:if test="$hasother">            <xsl:attribute name="href">
459        <xsl:value-of select="$other/bugs/@all"/>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
460      </xsl:if>              <xsl:value-of select="$escaped-package" />
461    </xsl:element>              <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>
462    </td>            </xsl:attribute>
463    </tr>            <xsl:if test="$hasother">
464    <tr class="normalrow" id="bugs_rc">              <span class="bugcount" title="mw">
465    <td class="labelcell"><span class="indented">Release Critical</span></td>                <xsl:value-of select="$other/bugs/@wishlist"/>
466    <td class="contentcell">              </span>
467    <xsl:element name="a">            </xsl:if>
468      <xsl:attribute name="href">          </xsl:element>
469        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>          <xsl:if test="$hasother and $other/bugs/@wishlist_m">
470        <xsl:call-template name="escape-name">            (<xsl:element name="a">
471          <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>              <xsl:attribute name="href">
472        </xsl:call-template>                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
473        <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>                <xsl:value-of select="$escaped-package" />
474      </xsl:attribute>                <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>
475      <xsl:if test="$hasother">              </xsl:attribute>
476        <xsl:value-of select="$other/bugs/@rc"/>              <xsl:value-of select="$other/bugs/@wishlist_m"/>
477      </xsl:if>            </xsl:element>)
478    </xsl:element>          </xsl:if>
479    </td>        </dd>
480    </tr>        <dt id="bugs_fp" title="Fixed and Pending">
481    <tr class="normalrow" id="bugs_in">          <span class="indented">F&amp;P</span>
482    <td class="labelcell"><span class="indented">Important and Normal</span></td>        </dt>
483    <td class="contentcell">        <dd>
484    <xsl:element name="a">          <xsl:element name="a">
485      <xsl:attribute name="href">            <xsl:attribute name="href">
486        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
487        <xsl:call-template name="escape-name">              <xsl:value-of select="$escaped-package" />
488          <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>              <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=no</xsl:text>
489        </xsl:call-template>            </xsl:attribute>
490        <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>            <xsl:if test="$hasother">
491      </xsl:attribute>              <span class="bugcount" title="fp">
492      <xsl:if test="$hasother">                <xsl:value-of select="$other/bugs/@fixed"/>
493        <xsl:value-of select="$other/bugs/@normal"/>              </span>
494      </xsl:if>            </xsl:if>
495    </xsl:element>          </xsl:element>
496    </td>          <xsl:if test="$hasother and $other/bugs/@fixed_m">
497    </tr>            (<xsl:element name="a">
498    <tr class="normalrow" id="bugs_mw">              <xsl:attribute name="href">
499    <td class="labelcell"><span class="indented">Minor and Wishlist</span></td>                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
500    <td class="contentcell">                <xsl:value-of select="$escaped-package" />
501    <xsl:element name="a">                <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=yes</xsl:text>
502      <xsl:attribute name="href">              </xsl:attribute>
503        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>              <xsl:value-of select="$other/bugs/@fixed_m"/>
504        <xsl:call-template name="escape-name">            </xsl:element>)
505          <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>          </xsl:if>
506        </xsl:call-template>        </dd>
507        <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>        <xsl:if test="$other/bugs/@gift &gt; 0">
508      </xsl:attribute>          <dt id="bugs_gift">
509      <xsl:if test="$hasother">            <span class="indented">
510        <xsl:value-of select="$other/bugs/@wishlist"/>              <a href="http://wiki.debian.org/qa.debian.org/GiftTag">gift</a>
511      </xsl:if>            </span>
512    </xsl:element>          </dt>
513    </td>          <dd>
514    </tr>            <xsl:element name="a">
515    <tr class="normalrow" id="bugs_fp">              <xsl:attribute name="href">
516    <td class="labelcell"><span class="indented">Fixed and Pending</span></td>                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
517    <td class="contentcell">                <xsl:value-of select="$escaped-package" />
518    <xsl:element name="a">              <xsl:text>&amp;users=debian-qa@lists.debian.org;tag=gift</xsl:text>
519      <xsl:attribute name="href">              </xsl:attribute>
520        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>              <span class="bugcount" title="gift">
521        <xsl:call-template name="escape-name">                <xsl:value-of select="$other/bugs/@gift" />
522          <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>              </span>
523        </xsl:call-template>            </xsl:element>
524        <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>          </dd>
525      </xsl:attribute>        </xsl:if>
526      <xsl:if test="$hasother">      </dl>
527        <xsl:value-of select="$other/bugs/@fixed"/>    </div>
528      </xsl:if>  </xsl:template>
529    </xsl:element>  
530    </td>  <xsl:template name="pts-subscription">
531    </tr>    <!-- <acronym title="Package Tracking System">PTS</acronym> subscription -->
532      <!-- <tr class="normalrow"> -->
533    <tr class="titlerow">    <!--   <td class="labelcell">Subscribers count</td> -->
534    <td class="titlecell" colspan="2">    <!--   <td class="contentcell"><xsl:if test="$hasother"> -->
535      <a class="titlelink" href="http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pkg-tracking-system"><acronym title="Package Tracking System">PTS</acronym></a> subscription    <!--  <xsl:value-of select="$other/pts/@count"/> -->
536    </td></tr>    <!--   </xsl:if></td> -->
537    <tr class="normalrow">    <!-- </tr> -->
   <td class="labelcell">Subscribers count</td>  
   <td class="contentcell"><xsl:if test="$hasother">  
     <xsl:value-of select="$other/pts/@count"/>  
   </xsl:if></td>  
   </tr>  
   <tr class="normalrow">  
   <td class="contentcell" colspan="2">  
538    <form method="post" action="/cgi-bin/pts.cgi">    <form method="post" action="/cgi-bin/pts.cgi">
539      <p>      <p>
540      <input type="hidden" name="package" value="{$package}"/>        <input type="hidden" name="package" value="{$package}"/>
541      <select name="what">        subscribe to this package<br />
542        <option value="subscribe">Subscribe</option>        <input type="text" name="email" size="10" value="email"
543        <option value="unsubscribe">Unsubscribe</option>               onfocus="if(email.value=='your email'){{email.value=''}}"/>
544        <option value="advanced">Advanced mode</option>        <select name="what">
545      </select>          <option value="subscribe">sub</option>
546      <input type="text" name="email" size="15" value="your email" onFocus="if(email.value=='your email'){{email.value=''}}"/>          <option value="unsubscribe">unsub</option>
547      <input type="submit" name="submit" value="Send"/>          <option value="advanced">opts</option>
548          </select>
549          <input type="submit" name="submit" value="go"/>
550      </p>      </p>
551    </form>    </form>
552    </td>  </xsl:template>
   </tr>  
553    
554    <tr class="titlerow">  <xsl:template name="binary-packages">
555    <td class="titlecell" colspan="2">    <div class="block binaries">
556    Binary package(s)      <a name="binaries" />
557    </td></tr>      <h2>binaries</h2>
558    <tr class="normalrow">      <ul>
559    <td class="normalcell" colspan="2" style="text-align: left">        <xsl:for-each select="binary/item">
560    <ul>          <xsl:sort select="text()"/>
561    <xsl:for-each select="binary/item">          <xsl:variable name="pkg" select="text()"/>
562      <xsl:sort select="text()"/>          <xsl:variable name="tooltip"
563      <xsl:variable name="pkg" select="text()"/>                        select="concat($pkg, ': ',
564      <li class="binpkg">                                $other/descriptions/shortdesc[@package=$pkg])" />
565      <a class="binpkg" href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>          <li class="binpkg">
566      <span style="font-size: 70%">            <a class="binpkg" title="{$tooltip}"
567      (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:               href="http://packages.debian.org/{text()}">
568                <span class="binpkg"><xsl:value-of select="text()"/></span>
569              </a>
570              <span style="font-size: 70%">
571                (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:
572                <xsl:element name="a">
573                  <xsl:attribute name="title">critical, grave and serious</xsl:attribute>
574                  <xsl:attribute name="href">
575                    <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
576                    <xsl:call-template name="escape-name">
577                      <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
578                    </xsl:call-template>
579                    <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>
580                  </xsl:attribute>
581                  <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
582                </xsl:element>,
583                <xsl:element name="a">
584                  <xsl:attribute name="title">important and normal</xsl:attribute>
585                  <xsl:attribute name="href">
586                    <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
587                    <xsl:call-template name="escape-name">
588                      <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
589                    </xsl:call-template>
590                    <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>
591                  </xsl:attribute>
592                  <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
593                </xsl:element>,
594                <xsl:element name="a">
595                  <xsl:attribute name="title">wishlist and minor</xsl:attribute>
596                  <xsl:attribute name="href">
597                    <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
598                    <xsl:call-template name="escape-name">
599                      <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
600                    </xsl:call-template>
601                    <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>
602                  </xsl:attribute>
603                  <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
604                </xsl:element>,
605                <xsl:element name="a">
606                  <xsl:attribute name="title">pending and fixed</xsl:attribute>
607                  <xsl:attribute name="href">
608                    <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
609                    <xsl:call-template name="escape-name">
610                      <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
611                    </xsl:call-template>
612                    <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
613                  </xsl:attribute>
614                  <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
615                </xsl:element>)
616              </span>
617            </li>
618          </xsl:for-each>
619        </ul>
620      </div>
621    </xsl:template>
622    
623    <xsl:template name="output-version">
624      <xsl:param name="suite" select="''" />
625      <xsl:param name="link" select="'yes'" />
626      <xsl:variable name="version">
627        <span class="srcversion" title="{$suite}">
628          <xsl:value-of select="document(concat('../base/', $dir, '/', $suite,
629                                '.xml'))/source/version"/>
630        </span>
631      </xsl:variable>
632      <xsl:choose>
633        <xsl:when test="$link='yes'">
634        <xsl:element name="a">        <xsl:element name="a">
635          <xsl:attribute name="title">critical, grave and serious</xsl:attribute>          <xsl:attribute name="class">dsc</xsl:attribute>
636          <xsl:attribute name="href">          <xsl:attribute name="href">
637            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>            <xsl:choose>
638            <xsl:call-template name="escape-name">              <xsl:when test="starts-with($suite, 'security-')">
639              <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>                <xsl:value-of select="$security-mirror"/>
640            </xsl:call-template>                <xsl:text>/</xsl:text>
641            <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>                <xsl:value-of
642                     select="document(concat('../base/', $dir, '/',
643                             $suite, '.xml'))/source/directory" />
644                </xsl:when>
645                <xsl:when test="str:replace($suite, '-backports', '') != $suite">
646                  <xsl:value-of select="$backports-mirror"/>
647                  <xsl:text>/</xsl:text>
648                  <xsl:value-of
649                     select="document(concat('../base/', $dir, '/',
650                             $suite, '.xml'))/source/directory" />
651                </xsl:when>
652                <xsl:otherwise>
653                  <xsl:value-of select="$mirror"/>
654                  <xsl:text>/</xsl:text>
655                  <xsl:value-of select="$pooldir"/>
656                </xsl:otherwise>
657              </xsl:choose>
658              <xsl:text>/</xsl:text>
659              <xsl:value-of select="document(concat('../base/', $dir, '/',
660                                    $suite, '.xml'))/source/files/item[1]/filename"/>
661          </xsl:attribute>          </xsl:attribute>
662          <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>          <xsl:attribute name="title">.dsc, use dget on this link to retrieve source package</xsl:attribute>
663        </xsl:element>,          <img src="../common/save.png" alt="save" />
664          </xsl:element>
665          <xsl:choose>
666            <xsl:when test="starts-with($suite, 'security-')">
667              <xsl:element name="a">
668                <xsl:attribute name="href">
669                  <xsl:text>http://packages.debian.org/source/</xsl:text>
670                  <xsl:value-of select="str:replace($suite, 'security-', '')" />
671                  <xsl:text>/</xsl:text>
672                  <xsl:copy-of select="$package" />
673                </xsl:attribute>
674                <xsl:copy-of select="$version" />
675              </xsl:element>
676            </xsl:when>
677            <xsl:when test="str:replace($suite, '-backports', '') != $suite">
678              <xsl:copy-of select="$version" />
679            </xsl:when>
680            <xsl:when test="str:replace($suite, '-updates', '') != $suite">
681              <xsl:copy-of select="$version" />
682            </xsl:when>
683            <xsl:otherwise>
684              <a href="http://packages.debian.org/source/{$suite}/{$package}">
685                <xsl:copy-of select="$version" />
686              </a>
687            </xsl:otherwise>
688          </xsl:choose>
689        </xsl:when>
690        <xsl:otherwise>
691          <xsl:copy-of select="$version" />
692        </xsl:otherwise>
693      </xsl:choose>
694    </xsl:template>
695    
696        <xsl:element name="a">  <xsl:template name="more-info-marker">
697          <xsl:attribute name="title">important and normal</xsl:attribute>    <xsl:param name="href" />
698          <xsl:attribute name="href">    <xsl:param name="title">more information are available on an external web page</xsl:param>
699          <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>    <a href="{$href}">
700          <xsl:call-template name="escape-name">      <img src="../common/external.png" title="{$title}" alt="..." />
701            <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>    </a>
702          </xsl:call-template>  </xsl:template>
         <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>  
         </xsl:attribute>  
         <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>  
       </xsl:element>,  
   
       <xsl:element name="a">  
         <xsl:attribute name="title">wishlist and minor</xsl:attribute>  
         <xsl:attribute name="href">  
           <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>  
           <xsl:call-template name="escape-name">  
             <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>  
           </xsl:call-template>  
           <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>  
         </xsl:attribute>  
         <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>  
       </xsl:element>,  
703    
704        <xsl:element name="a">  <xsl:template name="available-versions">
705          <xsl:attribute name="title">pending and fixed</xsl:attribute>    <div class="block versions">
706          <xsl:attribute name="href">      <a name="versions" />
707            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>      <h2>versions
708            <xsl:call-template name="escape-name">        <xsl:call-template name="more-info-marker">
709              <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>          <xsl:with-param name="href">
710              <xsl:text>http://qa.debian.org/madison.php?package=</xsl:text>
711              <xsl:value-of select="$package" />
712            </xsl:with-param>
713            <xsl:with-param name="title">more versions can be listed by madison</xsl:with-param>
714          </xsl:call-template>
715          <xsl:text> </xsl:text>
716          <xsl:call-template name="more-info-marker">
717            <xsl:with-param name="href">http://snapshot.debian.org/package/<xsl:value-of select="package" />/</xsl:with-param>
718            <xsl:with-param name="title">old versions available from snapshot.debian.org</xsl:with-param>
719          </xsl:call-template>
720          <a class="dsc" href="{$mirror}/{$pooldir}">
721            <img src="../common/folder.png" alt="pool" title="pool directory" />
722          </a>
723        </h2>
724    
725        <dl>
726          <xsl:if test="$hasoldstable">
727            <dt title="old stable release">oldstable</dt>
728            <dd>
729              <xsl:call-template name="output-version">
730                <xsl:with-param name="suite">oldstable</xsl:with-param>
731            </xsl:call-template>            </xsl:call-template>
732            <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>          </dd>
733          </xsl:attribute>        </xsl:if>
734          <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>        <xsl:if test="$hassecurity-oldstable">
735        </xsl:element>)          <dt title="security updates for the old stable release">old-sec</dt>
736      </span>          <dd>
737      </li>            <xsl:call-template name="output-version">
738    </xsl:for-each>              <xsl:with-param name="suite">security-oldstable</xsl:with-param>
739    </ul></td></tr>            </xsl:call-template>
740            </dd>
741    <tr class="titlerow">        </xsl:if>
742    <td class="titlecell" colspan="2">        <xsl:if test="$hasoldstable-updates">
743    Available versions          <dt title="updates for the old stable release">old-upd</dt>
744    </td></tr>          <dd>
745              <xsl:call-template name="output-version">
746    <!-- oldstable -->              <xsl:with-param name="suite">oldstable-updates</xsl:with-param>
747    <xsl:if test="$hasoldstable">            </xsl:call-template>
748    <tr class="normalrow">          </dd>
749    <td class="labelcell"><a href="http://www.debian.org/releases/sarge/">Oldstable</a></td>        </xsl:if>
750    <td class="contentcell">        <xsl:if test="$hasoldstable-backports">
751    <xsl:value-of select="document(concat('../base/', $dir, '/oldstable.xml'))/source/version"/>          <dt title="backports for the old stable release">old-bpo</dt>
752    </td>          <dd>
753    </tr>            <xsl:call-template name="output-version">
754    </xsl:if>              <xsl:with-param name="suite">oldstable-backports</xsl:with-param>
755    <xsl:if test="$hasoldstable-security">            </xsl:call-template>
756    <tr class="normalrow">          </dd>
757    <td class="labelcell"><small>Oldstable Security Updates</small></td>        </xsl:if>
758    <td class="contentcell">        <xsl:if test="$hasstable">
759    <xsl:value-of select="document(concat('../base/', $dir, '/oldstable-security.xml'))/source/version"/>          <dt>stable</dt>
760    </td>          <dd>
761    </tr>            <xsl:call-template name="output-version">
762    </xsl:if>              <xsl:with-param name="suite">stable</xsl:with-param>
763              </xsl:call-template>
764    <!-- stable -->          </dd>
765    <xsl:if test="$hasstable">        </xsl:if>
766    <tr class="normalrow">        <xsl:if test="$hassecurity-stable">
767    <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>          <dt title="security updates for the stable release">stable-sec</dt>
768    <td class="contentcell">          <dd>
769    <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>            <xsl:call-template name="output-version">
770    </td>              <xsl:with-param name="suite">security-stable</xsl:with-param>
771    </tr>            </xsl:call-template>
772    </xsl:if>          </dd>
773    <xsl:if test="$hasstable-security">        </xsl:if>
774    <tr class="normalrow">        <xsl:if test="$hasstable-updates">
775    <td class="labelcell"><small>Stable Security Updates</small></td>          <dt title="updates for the stable release">stable-upd</dt>
776    <td class="contentcell">          <dd>
777    <xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>            <xsl:call-template name="output-version">
778    </td>              <xsl:with-param name="suite">stable-updates</xsl:with-param>
779    </tr>            </xsl:call-template>
780    </xsl:if>          </dd>
781    <xsl:if test="$hass-p-u">        </xsl:if>
782    <tr class="normalrow">        <xsl:if test="$hasstable-proposed-updates">
783    <td class="labelcell"><small>Stable Proposed Updates</small></td>          <dt title="stable proposed updates">s-p-u</dt>
784    <td class="contentcell">          <dd>
785    <xsl:value-of select="document(concat('../base/', $dir, '/s-p-u.xml'))/source/version"/>            <xsl:call-template name="output-version">
786    </td>              <xsl:with-param name="suite">stable-proposed-updates</xsl:with-param>
787    </tr>            </xsl:call-template>
788    </xsl:if>          </dd>
789          </xsl:if>
790          <xsl:if test="$hasstable-backports">
791            <dt title="backports for the stable release">stable-bpo</dt>
792            <dd>
793              <xsl:call-template name="output-version">
794                <xsl:with-param name="suite">stable-backports</xsl:with-param>
795              </xsl:call-template>
796            </dd>
797          </xsl:if>
798          <xsl:if test="$hastesting">
799            <dt>testing</dt>
800            <dd>
801              <xsl:call-template name="output-version">
802                <xsl:with-param name="suite">testing</xsl:with-param>
803              </xsl:call-template>
804            </dd>
805          </xsl:if>
806          <xsl:if test="$hassecurity-testing">
807            <dt title="security updates for the testing release">testing-sec</dt>
808            <dd>
809              <xsl:call-template name="output-version">
810                <xsl:with-param name="suite">security-testing</xsl:with-param>
811              </xsl:call-template>
812            </dd>
813          </xsl:if>
814          <xsl:if test="$hastesting-proposed-updates">
815            <dt title="testing proposed updates">t-p-u</dt>
816            <dd>
817              <xsl:call-template name="output-version">
818                <xsl:with-param name="suite">testing-proposed-updates</xsl:with-param>
819              </xsl:call-template>
820            </dd>
821          </xsl:if>
822          <xsl:if test="$hasunstable">
823            <dt>unstable</dt>
824            <dd>
825              <xsl:call-template name="output-version">
826                <xsl:with-param name="suite">unstable</xsl:with-param>
827              </xsl:call-template>
828            </dd>
829          </xsl:if>
830          <xsl:if test="$hasexperimental">
831            <dt title="experimental release">exp</dt>
832            <dd>
833              <xsl:call-template name="output-version">
834                <xsl:with-param name="suite">experimental</xsl:with-param>
835              </xsl:call-template>
836            </dd>
837          </xsl:if>
838          <xsl:if test="$hasother and $other/@new_version">
839            <dt title="waiting in the NEW queue for FTP master review">
840              <a href="http://ftp-master.debian.org/new.html">NEW</a>
841            </dt>
842            <dd>
843              <xsl:value-of select="$other/@new_version" />
844            </dd>
845          </xsl:if>
846        </dl>
847      </div>
848    </xsl:template>
849    
850    <!-- testing -->  <xsl:template name="ubuntu">
851    <xsl:if test="$hastesting">    <xsl:if test="$other/@ubuntu='yes'">
852    <tr class="normalrow">      <div class="block ubuntu">
853    <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>        <a name="ubuntu" />
854    <td class="contentcell">        <h2>ubuntu
855    <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>          <img src="../common/ubuntu.png" alt="ubuntu" />
856    </td>          <xsl:text> </xsl:text>
857    </tr>          <xsl:call-template name="more-info-marker">
858    </xsl:if>            <xsl:with-param name="href">https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers</xsl:with-param>
859    <xsl:if test="$hastesting-security">            <xsl:with-param name="title">Information about Ubuntu for Debian Developers</xsl:with-param>
860    <tr class="normalrow">          </xsl:call-template>
861    <td class="labelcell"><small>Testing Security Updates</small></td>        </h2>
862    <td class="contentcell">        <ul>
863    <xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>          <li>
864    </td>            version: <a href="{$other/ubuntu/@url}"><xsl:value-of select="$other/ubuntu/@version"/></a>
865    </tr>          </li>
866    </xsl:if>          <xsl:if test="$other/ubuntu/patch">
867    <xsl:if test="$hast-p-u">            <li>
868    <tr class="normalrow">              <a href="{$other/ubuntu/patch/@url}">patches for
869    <td class="labelcell"><small>Testing Proposed Updates</small></td>              <xsl:value-of select="$other/ubuntu/patch/@version"/></a>
870    <td class="contentcell">            </li>
871    <xsl:value-of select="document(concat('../base/', $dir, '/t-p-u.xml'))/source/version"/>          </xsl:if>
872    </td>          <xsl:if test="$other/ubuntu/bugs">
873    </tr>            <li>
874    </xsl:if>              <a href="{$other/ubuntu/bugs/@url}"><xsl:value-of select="$other/ubuntu/bugs/@count"/>
875                bugs</a>
876    <!-- unstable -->              <xsl:if test="$other/ubuntu/bugpatches">
877    <xsl:if test="$hasunstable">                (<a href="{$other/ubuntu/bugpatches/@url}"><xsl:value-of select="$other/ubuntu/bugpatches/@count"/>
878    <tr class="normalrow">                patches</a>)
879    <td class="labelcell">Unstable</td>              </xsl:if>
880    <td class="contentcell">            </li>
881    <xsl:value-of select="document(concat('../base/', $dir, '/unstable.xml'))/source/version"/>          </xsl:if>
882    </td>        </ul>
883    </tr>      </div>
884    </xsl:if>    </xsl:if>
885    </xsl:template>
   <!-- experimental -->  
   <xsl:if test="$hasexperimental">  
   <tr class="normalrow">  
   <td class="labelcell">Experimental</td>  
   <td class="contentcell">  
   <xsl:value-of select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/>  
   </td>  
   </tr>  
   </xsl:if>  
886    
887    <!-- secure-testing -->  <xsl:template name="output-patch-tracker-version">
888    <xsl:if test="$hassecure-testing">    <xsl:param name="suite" select="''" />
889    <tr class="normalrow">    <xsl:param name="link" select="'yes'" />
890    <td class="labelcell">Secure testing</td>    <xsl:variable name="version">
891    <td class="contentcell">      <span class="srcversion" title="{$suite}">
892    <xsl:value-of select="document(concat('../base/', $dir, '/secure-testing.xml'))/source/version"/>        <xsl:value-of select="document(concat('../base/', $dir, '/', $suite,
893    </td>                              '.xml'))/source/version"/>
894    </tr>      </span>
895    </xsl:if>    </xsl:variable>
896      <xsl:choose>
897        <xsl:when test="$link='yes'">
898          <a href="http://patch-tracker.debian.org/package/{$package}/{$version}">
899            <xsl:copy-of select="$version" />
900          </a>
901        </xsl:when>
902        <xsl:otherwise>
903          <xsl:copy-of select="$version" />
904        </xsl:otherwise>
905      </xsl:choose>
906    </xsl:template>
907    
908    <!-- volatile -->  <xsl:template name="patch-tracker">
909    <xsl:if test="$hasvolatile">    <div class="block patch-tracker">
910    <tr class="normalrow">      <a name="patch-tracker" />
911    <td class="labelcell">Volatile</td>      <h2>patch-tracker
912    <td class="contentcell">          <xsl:call-template name="more-info-marker">
913    <xsl:value-of select="document(concat('../base/', $dir, '/volatile.xml'))/source/version"/>            <xsl:with-param name="href">http://patch-tracker.debian.org/package/<xsl:value-of select="package" /></xsl:with-param>
914    </td>            <xsl:with-param name="title">Link to patch tracker</xsl:with-param>
915    </tr>          </xsl:call-template></h2>
916    </xsl:if>  
917        <dl>
918          <xsl:if test="$hasoldstable">
919            <dt title="old stable release">oldstable</dt>
920            <dd>
921              <xsl:call-template name="output-patch-tracker-version">
922                <xsl:with-param name="suite">oldstable</xsl:with-param>
923              </xsl:call-template>
924            </dd>
925          </xsl:if>
926          <xsl:if test="$hasstable">
927            <dt>stable</dt>
928            <dd>
929              <xsl:call-template name="output-patch-tracker-version">
930                <xsl:with-param name="suite">stable</xsl:with-param>
931              </xsl:call-template>
932            </dd>
933          </xsl:if>
934          <xsl:if test="$hastesting">
935            <dt>testing</dt>
936            <dd>
937              <xsl:call-template name="output-patch-tracker-version">
938                <xsl:with-param name="suite">testing</xsl:with-param>
939              </xsl:call-template>
940            </dd>
941          </xsl:if>
942          <xsl:if test="$hasunstable">
943            <dt>unstable</dt>
944            <dd>
945              <xsl:call-template name="output-patch-tracker-version">
946                <xsl:with-param name="suite">unstable</xsl:with-param>
947              </xsl:call-template>
948            </dd>
949          </xsl:if>
950          <xsl:if test="$hasexperimental">
951            <dt title="experimental release">exp</dt>
952            <dd>
953              <xsl:call-template name="output-patch-tracker-version">
954                <xsl:with-param name="suite">experimental</xsl:with-param>
955              </xsl:call-template>
956            </dd>
957          </xsl:if>
958        </dl>
959      </div>
960    </xsl:template>
961    
962    <!-- Patches list [FG] -->  <xsl:template name="other-links">
963    <xsl:if test="$other/@patches='yes'">    <div class="block links">
964      <tr class="titlerow">      <a name="links" />
965      <td class="titlecell" colspan="2">      <h2>links</h2>
     Patches  
     </td></tr>  
     <tr>  
     <td class="contentcell" colspan="2" style="text-align: left">  
966      <ul>      <ul>
967      <xsl:for-each select="$other/patches/item">        <xsl:if test="homepage">
968        <li>          <li><a title="upstream web homepage" href="{homepage}">homepage</a></li>
969          <a href="{$other/patches/item/@url}">Patch from <xsl:value-of select="$other/patches/item/@distro"/> for version <xsl:value-of select="$other/patches/item/@version"/></a>        </xsl:if>
       </li>  
     </xsl:for-each>  
     <xsl:if test="$other/bugs/@patch!='0'">  
970        <li>        <li>
         <xsl:element name="a">  
           <xsl:attribute name="href">  
             <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>  
             <xsl:call-template name="escape-name">  
               <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
             </xsl:call-template>  
             <xsl:text>&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done</xsl:text>  
           </xsl:attribute>  
           Patches from BTS (<xsl:value-of select="$other/bugs/@patch"/>)  
         </xsl:element>  
       </li>  
     </xsl:if>  
     </ul>  
     </td>  
     </tr>  
   </xsl:if>  
   
   
   <tr class="titlerow">  
   <td class="titlecell" colspan="2">  
   Other links  
   </td></tr>  
   <tr>  
   <td class="contentcell" colspan="2" style="text-align: left">  
   <ul>  
   <li>  
     <xsl:element name="a">  
       <xsl:attribute name="href">  
         <xsl:text>http://packages.debian.org/changelogs/</xsl:text>  
         <xsl:value-of select="directory"/>  
         <xsl:text>/current/changelog</xsl:text>  
       </xsl:attribute>  
       <xsl:text>Changelog</xsl:text>  
     </xsl:element>  
     /  
     <xsl:element name="a">  
       <xsl:attribute name="href">  
         <xsl:text>http://packages.debian.org/changelogs/</xsl:text>  
         <xsl:value-of select="directory"/>  
         <xsl:text>/current/copyright</xsl:text>  
       </xsl:attribute>  
       <xsl:text>Copyright</xsl:text>  
     </xsl:element>  
   </li>  
   <xsl:if test="architecture!='all'">  
     <li>  
       <xsl:element name="a">  
         <xsl:attribute name="href">  
           <xsl:text>http://buildd.debian.org/pkg.cgi?pkg=</xsl:text>  
           <xsl:call-template name="escape-name">  
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
         </xsl:attribute>  
         <xsl:text>Buildd logs</xsl:text>  
       </xsl:element>  
       <xsl:text> (</xsl:text>  
       <xsl:element name="a">  
         <xsl:attribute name="href">  
           <xsl:text>http://experimental.debian.net/build.php?pkg=</xsl:text>  
           <xsl:call-template name="escape-name">  
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
         </xsl:attribute>  
         <xsl:text>more</xsl:text>  
       </xsl:element>  
       <xsl:text>)</xsl:text>  
     </li>  
   </xsl:if>  
   <!-- DISABLED until ddtp.debian.org is back up  
     <li>  
       <xsl:element name="a">  
         <xsl:attribute name="href">  
           <xsl:text>http://ddtp.debian.org/stats/pdesc/report.cgi?package=</xsl:text>  
           <xsl:call-template name="escape-name">  
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
           <xsl:text>&amp;lang=all&amp;type=src-drvbin&amp;subword=0</xsl:text>  
         </xsl:attribute>  
         Description's translations (DDTP)  
       </xsl:element>  
     </li>  
   <xsl:if test="$other/@debconf='yes'">  
     <li>  
       <xsl:element name="a">  
         <xsl:attribute name="href">  
           <xsl:text>http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package=</xsl:text>  
           <xsl:call-template name="escape-name">  
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
         </xsl:attribute>  
         Debconf templates's translations (DDTP)  
       </xsl:element>  
     </li>  
   </xsl:if>  
   -->  
   <xsl:if test="($hasunstable and $other/debcheck/@unstable='yes')  
       or ($hastesting and $other/debcheck/@testing='yes')  
       or ($hasstable and $other/debcheck/@stable='yes')">  
     <li>  
       Debcheck on:  
       <xsl:if test="$hasunstable">  
         <xsl:text> </xsl:text>  
971          <xsl:element name="a">          <xsl:element name="a">
972            <xsl:attribute name="href">            <xsl:attribute name="href">
973              <xsl:text>http://qa.debian.org/debcheck.php?dist=unstable&amp;package=</xsl:text>              <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
974              <xsl:call-template name="escape-name">              <xsl:value-of select="directory"/>
975                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>              <xsl:text>/current/changelog</xsl:text>
             </xsl:call-template>  
976            </xsl:attribute>            </xsl:attribute>
977            <xsl:text>unstable</xsl:text>            <xsl:text>changelog</xsl:text>
978          </xsl:element>          </xsl:element>
979        </xsl:if>          /
       <xsl:if test="$hastesting">  
         <xsl:text> </xsl:text>  
980          <xsl:element name="a">          <xsl:element name="a">
981            <xsl:attribute name="href">            <xsl:attribute name="href">
982              <xsl:text>http://qa.debian.org/debcheck.php?dist=testing&amp;package=</xsl:text>              <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
983              <xsl:call-template name="escape-name">              <xsl:value-of select="directory"/>
984                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>              <xsl:text>/current/copyright</xsl:text>
             </xsl:call-template>  
985            </xsl:attribute>            </xsl:attribute>
986            <xsl:text>testing</xsl:text>            <xsl:text>copyright</xsl:text>
987          </xsl:element>          </xsl:element>
988          </li>
989          <xsl:if test="architecture!='all'">
990            <li>
991              <xsl:text>buildd: </xsl:text>
992              <a href="https://buildd.debian.org/status/package.php?p={$escaped-package}"
993                 title="buildd.debian.org build logs">logs</a>
994              <xsl:text>, </xsl:text>
995                   <xsl:if test="$hasexperimental">
996                     <a href="https://buildd.debian.org/status/package.php?p={$escaped-package}&amp;suite=experimental"
997                        title="experimental build logs">exp</a>
998                     <xsl:text>, </xsl:text>
999                   </xsl:if>
1000                   <a href="http://buildd.debian-ports.org/status/package.php?p={$escaped-package}"
1001                      title="build logs for unofficial ports">ports</a>
1002            </li>
1003        </xsl:if>        </xsl:if>
1004        <xsl:if test="$hasstable">        <xsl:if test="$other/@logcheck='yes'">
1005          <xsl:element name="a">          <xsl:variable name="logcheck_url"><xsl:call-template name="mk_logcheck_url" /></xsl:variable>
1006            <xsl:attribute name="href">          <li>
1007              <xsl:text>http://qa.debian.org/debcheck.php?dist=stable&amp;package=</xsl:text>            <a title="report about issues spotted in buildd logs"
1008              <xsl:call-template name="escape-name">               href="{$logcheck_url}">build log checks</a>
1009                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>          </li>
             </xsl:call-template>  
           </xsl:attribute>  
           <xsl:text>stable</xsl:text>  
         </xsl:element>  
1010        </xsl:if>        </xsl:if>
1011      </li>        <xsl:if test="$hasother and $other/@piuparts='yes'">
1012    </xsl:if>          <li>
1013    <!-- convert maintainer/name to follow lintian.debian.org convention [FG] -->            <a title="report about errors found while stressing package installation"
1014                                <xsl:variable name="pattern" select="concat('àáèéëêòöøîìùñ-~/()&#34; ', &quot;'&quot;)"/>               href="http://piuparts.debian.org/sid/source/{$hash}/{$package}.html">piuparts</a>
1015    <xsl:variable name="_name" select="translate(maintainer/name, $pattern, '_____________________')"/>          </li>
1016      <li><a href="http://lintian.debian.org/reports/m{$_name}.html#{$package}">Lintian report</a></li>        </xsl:if>
1017    <li>        <xsl:if test="($hasunstable and $other/debcheck/@unstable='yes')
1018      <xsl:element name="a">                      or ($hastesting and $other/debcheck/@testing='yes')
1019        <xsl:attribute name="href">                      or ($hasstable and $other/debcheck/@stable='yes')">
1020          <xsl:text>http://qa.debian.org/developer.php?popcon=</xsl:text>          <li>
1021          <xsl:call-template name="escape-name">            debcheck:
1022            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>            <xsl:if test="$hasunstable">
1023          </xsl:call-template>              <xsl:text> </xsl:text>
1024        </xsl:attribute>              <a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$escaped-package}">unstable</a>
1025        <xsl:text>Popcon stats</xsl:text>            </xsl:if>
1026      </xsl:element>            <xsl:if test="$hastesting">
1027    </li>              <xsl:text> </xsl:text>
1028    <li>              <a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$escaped-package}">testing</a>
1029      <xsl:element name="a">            </xsl:if>
1030        <xsl:attribute name="href">            <xsl:if test="$hasstable">
1031          <xsl:text>http://svnbuildstat.debian.net/packages/info/</xsl:text>              <xsl:text> </xsl:text>
1032          <xsl:call-template name="escape-name">              <a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$escaped-package}">stable</a>
1033            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>            </xsl:if>
1034          </xsl:call-template>          </li>
1035        </xsl:attribute>        </xsl:if>
1036        <xsl:text>Svnbuildstat</xsl:text>        <xsl:if test="$other/@lintian='yes'">
1037      </xsl:element>          <xsl:variable name="lintian_url"><xsl:call-template name="mk_lintian_url" /></xsl:variable>
1038    </li>          <li>
1039    </ul>            <a title="report about packaging issues spotted by lintian"
1040    </td>               href="{$lintian_url}">lintian</a>
1041    </tr>            <!-- <xsl:if test="$lin_errs + $lin_warns > 0"> -->
1042              <!--   <xsl:text> </xsl:text> -->
1043    <tr class="titlerow">            <!--   <small><span title="(errors, warnings)">(<span id="lintian_errors"><xsl:value-of select="$lin_errs" /></span>, -->
1044    <td class="titlecell" colspan="2">            <!--  <span id="lintian_warnings"><xsl:value-of select="$lin_warns" /></span>)</span></small> -->
1045    Package files            <!-- </xsl:if> -->
1046    </td></tr>          </li>
1047    <tr class="titlerow">        </xsl:if>
1048    <td class="labelcell">        <li>
1049      <xsl:element name="a">          <a title="package popularity"
1050        <xsl:attribute name="href">             href="http://qa.debian.org/popcon.php?package={$escaped-package}">popcon</a>
1051          <xsl:call-template name="mirror"/>        </li>
1052          <xsl:text>/</xsl:text>        <xsl:if test="$other/@svnbuildstat='yes'">
1053          <xsl:value-of select="directory"/>          <li>
1054          <xsl:text>/</xsl:text>            <a href="http://svnbuildstat.debian.net/packages/info/{$escaped-package}">Svnbuildstat</a>
1055        </xsl:attribute>          </li>
1056        <xsl:text>Source files</xsl:text>        </xsl:if>
1057      </xsl:element>        <xsl:if test="$other/i18n/@href">
1058    </td>          <li>
1059    <td class="contentcell" id="src_files">            <a title="translation status"
1060      <ul>               href="{$other/i18n/@href}">l10n</a>
1061      <xsl:for-each select="files/item">            <small>
1062        <xsl:variable name="filetype">              (<span title="completeness of Debian string translation">
1063          <xsl:call-template name="categorize-srcfile" />                <xsl:value-of select="$other/i18n/@deb" />
1064        </xsl:variable>              </span>,
1065        <xsl:element name="li">              <span title="completeness of non-Debian string translation">
1066          <xsl:attribute name="class">srcfile</xsl:attribute>                <xsl:value-of select="$other/i18n/@nondeb" />
1067          <xsl:if test="string($filetype)!=''">              </span>)
1068            <xsl:attribute name="id">            </small>
1069              <xsl:text>srcfile_</xsl:text>          </li>
1070              <xsl:value-of select="$filetype" />        </xsl:if>
1071            </xsl:attribute>        <xsl:if test="$other/@fonts='yes'">
1072          </xsl:if>          <li>
1073          <xsl:element name="a">            <a title="fonts review" href="{$other/fonts/@href}">fonts</a>
1074            <xsl:attribute name="class">srcfile</xsl:attribute>          </li>
1075            <xsl:attribute name="href">        </xsl:if>
1076              <xsl:call-template name="mirror"/>        <li>
1077              <xsl:text>/</xsl:text>          <xsl:variable name="escaped-email">
1078              <xsl:value-of select="../../directory"/>            <xsl:call-template name="escape-name">
1079              <xsl:text>/</xsl:text>              <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
1080              <xsl:value-of select="filename"/>            </xsl:call-template>
1081            </xsl:attribute>          </xsl:variable>
1082            <xsl:attribute name="title">          <a title="edit all debtags" href="http://debtags.debian.net/rep/todo/maint/{$escaped-email}#{$escaped-package}">debtags</a>
1083              <xsl:value-of select="filename" />        </li>
             <xsl:text>: </xsl:text>  
             <xsl:value-of select="size"/>  
             <xsl:text> bytes</xsl:text>  
           </xsl:attribute>  
           <xsl:text>.</xsl:text>  
           <xsl:value-of select="$filetype"/>  
         </xsl:element>  
       </xsl:element>  
     </xsl:for-each>  
1084      </ul>      </ul>
1085    </td>    </div>
1086    </tr>  </xsl:template>
   
   </table>  
   <!-- END LEFT SIDE -->  
   </td><td class="containercell">  
   <!-- RIGHT SIDE -->  
   <table class="righttable">  
   
1087    
1088    <!-- Todo list -->  <xsl:template name="todo-list">
1089    <xsl:variable name="todo">    <xsl:variable name="todo">
1090      <xsl:if test="@nmu">      <xsl:call-template name="issue-security" />
1091        <li>Incorporate and acknowledge the changes from the non maintainer upload.</li>      <xsl:call-template name="issue-nmu" />
1092      </xsl:if>      <xsl:call-template name="issue-lintian" />
1093      <xsl:if test="not(uploaders)and(priority='standard' or priority='required' or priority='important')">      <xsl:call-template name="issue-logcheck" />
1094        <li>The package is of priority standard or higher, you should really find some co-maintainers.</li>      <xsl:call-template name="issue-mentors-pending" />
1095      </xsl:if>      <xsl:call-template name="issue-comaintenance" />
1096      <xsl:if test="not(starts-with(standards-version, $lastsv))">      <xsl:call-template name="issue-outdate-stdver" />
1097        <li>The package should be updated to follow the last version of      <xsl:call-template name="issue-new-upstream" />
1098        <a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version      <xsl:call-template name="issue-patches" />
1099        <xsl:value-of select="$lastsv"/> instead of      <xsl:call-template name="issue-l10n" />
1100        <xsl:value-of select="standards-version"/>).</li>      <xsl:call-template name="issue-release-goals" />
     </xsl:if>  
1101      <xsl:if test="$hasother">      <xsl:if test="$hasother">
1102        <xsl:for-each select="$other/todo/item">        <xsl:for-each select="$other/todo/item">
1103          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem" />
1104        </xsl:for-each>        </xsl:for-each>
       <!-- new upstream version goes in todo [FG] -->  
       <xsl:if test="$other/@watch='yes' and $other/watch/@new!='0'">  
         <li>A new upstream version was found:  
            (<xsl:value-of select="$other/watch/@new"/>). <a href="{$other/watch/@url}"><xsl:value-of select="$other/watch/@url"/></a></li>  
       </xsl:if>  
       <xsl:if test="$other/bugs/@patch!='0'">  
         <li>The Bug Tracking System contains  
         <xsl:element name="a">  
           <xsl:attribute name="href">  
             <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>  
             <xsl:call-template name="escape-name">  
               <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
             </xsl:call-template>  
             <xsl:text>&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done</xsl:text>  
           </xsl:attribute>  
           <xsl:value-of select="$other/bugs/@patch"/> patch<xsl:if test="$other/bugs/@patch!='1'">es</xsl:if>  
         </xsl:element>, you should include  
         <xsl:if test="$other/bugs/@patch!='1'">them</xsl:if>  
         <xsl:if test="$other/bugs/@patch='1'">it</xsl:if>.  
         </li>  
       </xsl:if>  
1105      </xsl:if>      </xsl:if>
1106    </xsl:variable>    </xsl:variable>
1107    
1108    <xsl:if test="count($todo)>0 and string($todo)!=''">    <xsl:if test="count($todo)>0 and string($todo)!=''">
1109    <tr class="titlerow">      <div class="block todo">
1110    <td class="titlecell" id="todo">        <a name="todo" />
1111    Todo        <h2>todo</h2>
1112    </td></tr>        <ul>
1113    <tr class="normalrow">          <xsl:copy-of select="$todo" />
1114    <td class="contentcell2">        </ul>
1115    <ul>      </div>
   <xsl:copy-of select="$todo"/>  
   </ul>  
   </td>  
   </tr>  
1116    </xsl:if>    </xsl:if>
1117    </xsl:template>
1118    <!-- List of problems -->  
1119    <xsl:template name="problems">
1120    <xsl:variable name="problems">    <xsl:variable name="problems">
1121      <xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">      <xsl:call-template name="issue-testing-excuses" />
1122        <li>The package has not yet entered <a      <xsl:call-template name="issue-piuparts" />
1123        href="http://ftp-master.debian.org/testing/update_excuses.html.gz#{$package}">testing</a>      <xsl:call-template name="issue-ancient-stdver" />
1124        even though the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day      <xsl:call-template name="issue-item-dead-package" />
1125        delay is over.      <xsl:call-template name="issue-item-override-disparity" />
1126        <xsl:element name="a">      <xsl:call-template name="issue-item-help-bugs" />
1127          <xsl:attribute name="href">      <xsl:call-template name="issue-item-wnpp" />
1128            <xsl:text>http://bjorn.haxx.se/debian/testing.pl?package=</xsl:text>      <!-- <xsl:call-template name="issue-item-watch-failure" /> -->
1129            <xsl:call-template name="escape-name">      <xsl:call-template name="issue-item-dehs-failure" />
             <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
           </xsl:call-template>  
         </xsl:attribute>  
         Check why  
       </xsl:element>  
       .</li>  
     </xsl:if>  
     <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">  
       <li>The package is severly out of date with respect to the Debian  
       Policy. Latest version is <xsl:value-of select="$lastsv"/>  
       and your package only follows  
       <xsl:value-of select="standards-version"/>...</li>  
     </xsl:if>  
     <xsl:if test="@release!='unstable' and @release!='experimental'">  
       <li>This package is neither part of unstable nor experimental. This  
       probably means that the package <a  
       href="http://ftp-master.debian.org/removals.txt">has been removed</a> (or  
       has been renamed). Thus the information here is of little interest ...  
       the package is going to disappear unless someone takes it over and  
       reintroduces it into unstable.</li>  
     </xsl:if>  
1130      <xsl:if test="$hasother">      <xsl:if test="$hasother">
   
       <!-- Override disparity handling. [JvW] -->  
       <xsl:if test="$other/@override='yes'">  
         <xsl:for-each select="$other/override/group">  
           <li>There were override disparities found in suite <xsl:value-of  
               select="@suite"/>:  
             <ul>  
               <xsl:for-each select="disparity">  
                 <li><xsl:value-of select="text()"/></li>  
               </xsl:for-each>  
             </ul>  
           </li>  
         </xsl:for-each>  
       </xsl:if>  
   
       <!-- Wnpp handling. [PvR] -->  
       <xsl:if test="$other/@wnpp='yes'">  
       <li>  
         <xsl:choose>  
           <xsl:when test="$other/wnpp/@type='O'">  
           <xsl:choose>  
           <xsl:when test="@release!='unstable' and @release!='experimental'">  
           The WNPP database contains an O (Orphaned) entry for  
           this package. This is probably an error, as it is neither part of  
           unstable nor experimental.  
           </xsl:when>  
           <xsl:otherwise>  
           <span style="font-weight: bold">This package has been orphaned</span>.  
           This means that it does not have a real maintainer at the  
           moment. Please consider adopting this package if you are interested in it.  
           </xsl:otherwise>  
           </xsl:choose>  
           </xsl:when>  
           <xsl:when test="$other/wnpp/@type='ITA'">  
           <xsl:choose>  
           <xsl:when test="@release!='unstable' and @release!='experimental'">  
           The WNPP database contains an ITA (Intent To Adopt) entry for  
           this package. This is probably an error, as it is neither part of  
           unstable nor experimental.  
           </xsl:when>  
           <xsl:otherwise>  
           This package has been orphaned, but someone intends to maintain it.  
           </xsl:otherwise>  
           </xsl:choose>  
           </xsl:when>  
           <xsl:when test="$other/wnpp/@type='RFA'">  
           <xsl:choose>  
           <xsl:when test="@release!='unstable' and @release!='experimental'">  
           The WNPP database contains an RFA (Request For Adoption) entry for  
           this package. This is probably an error, as it is neither part of  
           unstable nor experimental.  
           </xsl:when>  
           <xsl:otherwise>  
           The current maintainer is looking for someone who can take over  
           maintenance of this package. If you are interested in this package,  
           please consider taking it over. Alternatively you may  
           want to be co-maintainer in order to help the actual maintainer.  
           </xsl:otherwise>  
           </xsl:choose>  
           </xsl:when>  
           <xsl:when test="$other/wnpp/@type='RFH'">  
           <xsl:choose>  
           <xsl:when test="@release!='unstable' and @release!='experimental'">  
           The WNPP database contains an RFH (Request For Help) entry for  
           this package. This is probably an error, as it is neither part of  
           unstable nor experimental.  
           </xsl:when>  
           <xsl:otherwise>  
           The current maintainer is looking for someone who can help with the  
           maintenance of this package. If you are interested in this package,  
           please consider helping out. One way you can help is offer to be a  
           co-maintainer or triage bugs in the bts.  
           </xsl:otherwise>  
           </xsl:choose>  
           </xsl:when>  
           <xsl:when test="$other/wnpp/@type='ITP'">  
           <xsl:choose>  
           <xsl:when test="@release!='unstable' and @release!='experimental'">  
           The WNPP database contains an ITP (Intent To Package). This probably  
           means that somebody is going to reintroduce this package into unstable.  
           </xsl:when>  
           <xsl:otherwise>  
           The WNPP database contains an ITP (Intent To Package) entry for  
           this package. This is probably an error, as it has already been  
           packaged.  
           </xsl:otherwise>  
           </xsl:choose>  
           </xsl:when>  
           <xsl:when test="$other/wnpp/@type='RFP'">  
           <xsl:choose>  
           <xsl:when test="@release!='unstable' and @release!='experimental'">  
           The WNPP database contains an RFP (Request For Package). This probably  
           means that somebody would like to see this package reintroduced into  
           unstable by a volunteer.  
           </xsl:when>  
           <xsl:otherwise>  
           The WNPP database contains an RFP (Request For Package) entry  
           for this package.  This is probably an error, as it has already  
           been packaged.  
           </xsl:otherwise>  
           </xsl:choose>  
           </xsl:when>  
           <xsl:when test="$other/wnpp/@type='RM'">  
           <span style="font-weight: bold">This package has been requested to be  
           removed</span>.  
           This means that, when this request gets processed by an ftp-master, this  
           package will no longer be in unstable, and will automatically be removed  
           from testing too afterwards. If for some reason you want keep this  
           package in unstable, please discuss so in the bug.  
           </xsl:when>  
           <xsl:otherwise>  
           The WNPP database contains an entry for this package,  
           but it is unclear what kind of entry it is. This is probably an error.  
           </xsl:otherwise>  
         </xsl:choose>  
         <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>  
         Please see bug number <a href="http://bugs.debian.org/{$bn}">  
         #<xsl:value-of select="$bn"/></a> for more information.  
       </li>  
       </xsl:if>  
   
     <!-- uscan output if present [FG] -->  
     <xsl:if test="$other/@watch='yes'">  
       <li>  
       <xsl:if test="$other/watch/@warning!=''">  
         uscan had problems while searching for a new upstream version: <xsl:value-of select="$other/watch/@warning"/>  
       </xsl:if>  
       </li>  
     </xsl:if>  
   
       <!-- Misc problems reported -->  
1131        <xsl:for-each select="$other/problems/item">        <xsl:for-each select="$other/problems/item">
1132          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
1133        </xsl:for-each>        </xsl:for-each>
1134      </xsl:if>      </xsl:if>
1135    </xsl:variable>    </xsl:variable>
1136    
1137    <xsl:if test="count($problems)>0 and string($problems)!=''">    <xsl:if test="count($problems)>0 and string($problems)!=''">
1138    <tr class="titlerow">      <div class="block problems">
1139    <td class="titlecell" id="problems">        <a name="problems" />
1140    Problems        <h2>problems</h2>
1141    </td></tr>        <ul>
1142    <tr class="normalrow">          <xsl:copy-of select="$problems" />
1143    <td class="contentcell2">        </ul>
1144    <ul><xsl:copy-of select="$problems"/></ul>      </div>
   </td>  
   </tr>  
1145    </xsl:if>    </xsl:if>
1146    </xsl:template>
1147    
1148    <xsl:if test="$hasexcuse">  <xsl:template name="testing-status">
1149    <tr class="titlerow">    <xsl:if test="$hasexcuse or $other/@transitions='yes'">
1150    <td class="titlecell">      <div class="block testing">
1151    Testing Status        <a name="testing" />
1152    </td></tr>        <h2>testing migration</h2>
1153    <tr class="normalrow">        <xsl:if test="$other/@transitions='yes'">
1154    <td class="contentcell2" style="text-align: left">          <div class="warning">
1155    <ul>            <ul>
1156    <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">              <xsl:for-each select="$other/transitions/transition">
1157      <xsl:call-template name="outputitem"/>                <li>
1158    </xsl:for-each>                <xsl:choose>
1159    </ul>                  <xsl:when test="@status='planned'">
1160    </td>                    This package will soon be part of the <a href="http://release.debian.org/transitions/html/{@name}.html"><xsl:value-of select="@name" /></a> transition. You might want to ensure that your package is ready for it.
1161    </tr>                  </xsl:when>
1162                    <xsl:when test="@status='ongoing'">
1163                      This package is part of the ongoing testing transition known as <a href="http://release.debian.org/transitions/html/{@name}.html"><xsl:value-of select="@name" /></a>.
1164                      <xsl:if test="@reject!='yes'">
1165                      Please avoid uploads unrelated to this transition, they would
1166                      likely delay it and require supplementary work from the release
1167                      managers. On the other hand, if your package has problems
1168                      preventing it to migrate to testing, please fix them
1169                      as soon as possible.
1170                      </xsl:if>
1171                    </xsl:when>
1172                    <xsl:otherwise>
1173                    </xsl:otherwise>
1174                  </xsl:choose>
1175                  You can probably find supplementary information in the
1176                  <a href="http://lists.debian.org/debian-release/">debian-release
1177                  archives</a> or in the corresponding
1178                  <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=release.debian.org@packages.debian.org;tag=transition">release.debian.org
1179                  bug</a>.
1180                  <xsl:if test="@reject='yes'">
1181                    <strong>Uploads to unstable will be rejected</strong> while
1182                    the transition is ongoing; you might want to upload to
1183                    experimental in the meantime, or
1184                    contact <tt><a href="mailto:debian-release@lists.debian.org">debian-release</a></tt>
1185                    if an upload is really necessary.
1186    
1187                  </xsl:if>
1188                  </li>
1189                </xsl:for-each>
1190              </ul>
1191            </div>
1192          </xsl:if>
1193          <xsl:if test="$hasexcuse">
1194            <a title="reasons why the package is not moving to testing"
1195               href="http://qa.debian.org/excuses.php?package={$escaped-package}">excuses</a>:
1196            <ul class="testing-excuses">
1197              <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
1198                <xsl:call-template name="outputitem"/>
1199              </xsl:for-each>
1200            </ul>
1201          </xsl:if>
1202        </div>
1203    </xsl:if>    </xsl:if>
1204    </xsl:template>
1205    
1206    <xsl:template name="static-info">
1207    <xsl:call-template name="output-static">    <xsl:call-template name="output-static">
1208      <xsl:with-param name="static" select="$static" />      <xsl:with-param name="static" select="$static" />
1209    </xsl:call-template>    </xsl:call-template>
1210    </xsl:template>
1211    
1212    <xsl:template name="latest-news">
1213    <xsl:call-template name="output-news">    <xsl:call-template name="output-news">
1214      <xsl:with-param name="news" select="$news" />      <xsl:with-param name="news" select="$news" />
1215    </xsl:call-template>    </xsl:call-template>
1216    </xsl:template>
1217    
1218    </table>  <xsl:variable name="static">
1219    <!-- END RIGHT SIDE -->    <xsl:if test="$hasnews">
1220    </td></tr>      <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
1221    </table>        <xsl:call-template name="outputitem"/>
1222        </xsl:for-each>
1223      </xsl:if>
1224    </xsl:variable>
1225    
1226    <!-- END NON REMOVED PACKAGE -->  <xsl:variable name="news">
1227    </xsl:otherwise>    <xsl:if test="$hasnews">
1228    </xsl:choose>      <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
1229          <xsl:call-template name="outputitem"/>
1230        </xsl:for-each>
1231      </xsl:if>
1232    </xsl:variable>
1233    
1234    <hr/>  <!-- All the work is done in a single template -->
1235    <p>  <xsl:template match="source">
1236    Debian Package Tracking System - Copyright 2002-2006 Raphaël Hertzog and  
1237    others<br/>    <!-- Start of html -->
1238    Report problems to the <a href="http://bugs.debian.org/qa.debian.org"    <html>
1239    >qa.debian.org pseudopackage</a><br/>      <head>
1240    Last modified : <xsl:value-of select="$date"/>        <meta name="ROBOTS" content="NOFOLLOW"/>
1241    </p>        <link type="text/css" title="User selected" rel="stylesheet" href="../common/default.css"/>
1242    </div>        <link type="text/css" title="Official" rel="alternate stylesheet" href="../common/revamp.css"/>
1243    </body>        <link type="text/css" title="Legacy PTS" rel="alternate stylesheet" href="../common/pts.css"/>
1244          <link type="text/css" title="Compact rendering" rel="alternate stylesheet" href="../common/compact.css"/>
1245          <script type="text/javascript" src="../common/pts.js"></script>
1246          <xsl:if test="count($news)>0 and string($news)!=''">
1247            <link rel="alternate" type="application/rss+xml" title="RSS"
1248                  href="{$package}/news.rss20.xml" />
1249          </xsl:if>
1250          <title>Debian Package Tracking System -
1251            <xsl:value-of select="$package"/></title>
1252        </head>
1253        <body onload="javascript:onLoad();">
1254          <div class="quickform" style="float: right;">
1255            <form title="jump to the PTS page of another source package"
1256                  method="get" action="/common/index.html">
1257              <p>
1258                <input type="text" size="14" name="src" value=""/>
1259                <input type="submit" value="jump to" />
1260              </p>
1261            </form>
1262          </div>
1263    
1264          <h1>
1265            <xsl:value-of select="$package"/><br />
1266            <small>source package</small>
1267          </h1>
1268    
1269          <div id="body">
1270            <xsl:choose>
1271              <xsl:when test="$removed='yes'">
1272                <div class="block removed">
1273                  <p>This package is not part of any Debian
1274                    distribution. Thus you won't find much information
1275                    here. The package is either very new and hasn't
1276                    appeared on mirrors yet, or it's an old package that
1277                    eventually got removed.  The old news are kept for
1278                    historic purpose only.</p>
1279                  <xsl:call-template name="static-info" />
1280                  <xsl:call-template name="latest-news" />
1281                </div>
1282              </xsl:when>
1283              <xsl:otherwise>       <!-- non removed package -->
1284                <div class="left maincol">
1285                  <xsl:call-template name="general-information" />
1286                  <xsl:call-template name="available-versions" />
1287                  <xsl:call-template name="binary-packages" />
1288                </div>
1289                <div class="center maincol">
1290                  <xsl:call-template name="todo-list" />
1291                  <xsl:call-template name="problems" />
1292                  <xsl:call-template name="testing-status" />
1293                  <xsl:call-template name="static-info" />
1294                  <xsl:call-template name="latest-news" />
1295                </div>
1296                <div class="right maincol">
1297                  <xsl:call-template name="bugs-count" />
1298                  <xsl:call-template name="other-links" />
1299                  <xsl:call-template name="ubuntu" />
1300                  <xsl:call-template name="patch-tracker" />
1301                </div>
1302              </xsl:otherwise>
1303            </xsl:choose>
1304    
1305            <hr/>
1306            <div class="footer">
1307              <table width="100%">
1308                <tr>
1309                  <td>
1310                  <!--
1311                    <div class="quickform">
1312                      <form id="csspref-form" method="get"
1313                            action="/common/set-csspref.php">
1314                        <p>
1315                          change skin:
1316                          <select name="csspref" onchange="javascript:onChangeStyle();">
1317                            <option value="revamp.css">default</option>
1318                            <option value="compact.css">compact</option>
1319                            <option value="pts.css">legacy</option>
1320                          </select>
1321                        </p>
1322                      </form>
1323                    </div>
1324                  -->
1325                    <div class="quickform">
1326                      <xsl:call-template name="pts-subscription" />
1327                    </div>
1328                  </td>
1329                  <td>
1330                    <p>
1331                      <em><a href="http://www.debian.org">Debian</a>
1332                        Package Tracking System</em> - Copyright ©
1333                        2002-2009 Raphaël Hertzog, Stefano Zacchiroli and
1334                        others.<br/> Report problems to the
1335                      <a href="http://bugs.debian.org/qa.debian.org"><tt>qa.debian.org</tt>
1336                        pseudopackage</a> in the <a href="http://bugs.debian.org">Debian
1337                        <acronym title="Bug Tracking System">BTS</acronym></a>.<br/>
1338                        <a href="svn://svn.debian.org/svn/qa/trunk/pts">Checkout SVN repository</a> |
1339                        <a href="http://anonscm.debian.org/viewvc/qa/trunk/pts/">Browse SVN repository</a><br/>
1340                      Last modified: <xsl:value-of select="$date"/>.
1341                    </p>
1342                  </td>
1343                  <td>
1344                    <a href="http://validator.w3.org/check?uri=referer">
1345                      <img
1346                         src="http://www.w3.org/Icons/valid-xhtml10-blue"
1347                         alt="Valid XHTML 1.0 Strict" height="31" width="88" />
1348                    </a>
1349                  </td>
1350                </tr>
1351              </table>
1352            </div>
1353          </div>
1354        </body>
1355    </html>    </html>
1356  </xsl:template>  </xsl:template>
1357    

Legend:
Removed from v.1765  
changed lines
  Added in v.2712

  ViewVC Help
Powered by ViewVC 1.1.5