/[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 1425 by hertzog, Sun Sep 24 09:05:09 2006 UTC revision 1756 by zack, Fri Nov 30 17:38:29 2007 UTC
# Line 95  other-to-%xx, especially % to %25... For Line 95  other-to-%xx, especially % to %25... For
95    <xsl:if test="repository">    <xsl:if test="repository">
96      <tr>      <tr>
97        <td class="labelcell">        <td class="labelcell">
98          <acronym title="Version Control System">VCS</acronym>          <xsl:text>Version Control</xsl:text>
99        </td>        </td>
100        <td class="contentcell">        <td class="contentcell">
101          <xsl:element name="a">          <xsl:if test="repository/vcs[@kind='browser']">
102            <xsl:attribute name="href">            <a href="{repository/vcs[@kind='browser']/@url}">
103              <xsl:value-of select="repository/kind/@href" />              <xsl:text>browser</xsl:text>
104            </xsl:attribute>            </a>
105            <xsl:value-of select="repository/kind"/>            <br />
106          </xsl:element>          </xsl:if>
107          <xsl:text> </xsl:text>          <xsl:if test="repository/vcs[@kind!='browser']">
108          <xsl:element name="a">            <xsl:text>raw: </xsl:text>
109            <xsl:attribute name="href">            <xsl:for-each select="repository/vcs[@kind!='browser']">
110              <xsl:value-of select="repository/url" />              <xsl:sort select="@kind" />
111            </xsl:attribute>              <a href="{@url}">
112            <xsl:attribute name="title">                <xsl:value-of select="@kind" />
113              <xsl:value-of select="repository/url" />              </a>
114            </xsl:attribute>              <xsl:if test="position()!=last()">
115            <xsl:text>repository</xsl:text>                <xsl:text>, </xsl:text>
116          </xsl:element>              </xsl:if>
117              </xsl:for-each>
118            </xsl:if>
119          </td>
120        </tr>
121      </xsl:if>
122    </xsl:template>
123    
124    <xsl:template name="add-maintenance-info">
125      <xsl:variable name="dm">
126        <xsl:if test="dm-upload-allowed and string(dm-upload-allowed)='yes'">
127          <xsl:text>true</xsl:text>
128        </xsl:if>
129      </xsl:variable>
130      <xsl:variable name="lownmu">
131        <xsl:if test="maintainer/low-threshold-nmu
132            and string(maintainer/low-threshold-nmu)='yes'">
133          <xsl:text>true</xsl:text>
134        </xsl:if>
135      </xsl:variable>
136    
137      <xsl:if test="string($dm)!='' or string($lownmu)!=''">
138        <tr>
139          <td class="labelcell">
140            <xsl:text>Maintenance info</xsl:text>
141          </td>
142          <td class="contentcell">
143    
144            <xsl:if test="string($dm)!=''">
145              <span class="dm-tag">
146                <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>
147              </span>
148            </xsl:if>
149    
150            <xsl:if test="string($lownmu)!=''">
151              <span class="lownmu-tag">
152                <a href="http://wiki.debian.org/LowThresholdNmu"><acronym
153                    title="maintainer agrees with Low Threshold NMU, see wiki page for details">LowNMU</acronym></a>
154              </span>
155            </xsl:if>
156        </td>        </td>
157      </tr>      </tr>
158    </xsl:if>    </xsl:if>
159  </xsl:template>  </xsl:template>
160    
161    <xsl:template name="output-news">
162      <xsl:param name="news" />
163    
164      <xsl:if test="count($news)>0 and string($news)!=''">
165        <tr class="titlerow">
166        <td class="titlecell">
167          Latest News <a class="feedlink" href="{$package}/news.rss20.xml">RSS</a>
168        </td></tr>
169        <tr class="normalrow">
170        <td class="contentcell2">
171        <ul><xsl:copy-of select="$news"/></ul>
172        </td>
173        </tr>
174      </xsl:if>
175    </xsl:template>
176    
177    <xsl:template name="output-static">
178      <xsl:param name="static" />
179    
180      <xsl:if test="count($static)>0 and string($static)!=''">
181        <tr class="titlerow">
182        <td class="titlecell">
183        Static Information
184        </td></tr>
185        <tr class="normalrow">
186        <td class="contentcell2">
187        <ul><xsl:copy-of select="$static"/></ul>
188        </td>
189        </tr>
190      </xsl:if>
191    </xsl:template>
192    
193    <xsl:variable name="static">
194      <xsl:if test="$hasnews">
195        <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
196          <xsl:call-template name="outputitem"/>
197        </xsl:for-each>
198      </xsl:if>
199    </xsl:variable>
200    
201    <xsl:variable name="news">
202      <xsl:if test="$hasnews">
203        <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
204          <xsl:call-template name="outputitem"/>
205        </xsl:for-each>
206      </xsl:if>
207    </xsl:variable>
208    
209  <!-- All the work is done in a single template -->  <!-- All the work is done in a single template -->
210  <xsl:template match="source">  <xsl:template match="source">
211    
# Line 129  other-to-%xx, especially % to %25... For Line 216  other-to-%xx, especially % to %25... For
216    <html>    <html>
217    <head>    <head>
218    <meta name="ROBOTS" content="NOFOLLOW"/>    <meta name="ROBOTS" content="NOFOLLOW"/>
219    <link title="Default" rel="stylesheet" href="../common/pts.css"/>    <link type="text/css" title="Default" rel="stylesheet" href="../common/pts.css"/>
220    <link title="Standard link rendering" rel="alternate stylesheet" href="../common/pts2.css"/>    <link type="text/css" title="Standard link rendering" rel="alternate stylesheet" href="../common/pts2.css"/>
221      <link type="text/css" title="Compact rendering" rel="alternate stylesheet" href="../common/compact.css"/>
222      <xsl:if test="count($news)>0 and string($news)!=''">
223        <link rel="alternate" type="application/rss+xml" title="RSS"
224          href="{$package}/news.rss20.xml" />
225      </xsl:if>
226    <title>Overview of <xsl:value-of select="$package"/> source package</title>    <title>Overview of <xsl:value-of select="$package"/> source package</title>
227    </head>    </head>
228    <body>    <body>
# Line 153  other-to-%xx, especially % to %25... For Line 245  other-to-%xx, especially % to %25... For
245    <xsl:choose>    <xsl:choose>
246    <xsl:when test="$removed='yes'">    <xsl:when test="$removed='yes'">
247    <!-- REMOVED PACKAGE -->    <!-- REMOVED PACKAGE -->
248    <p>This package is no longer part of any Debian distribution. Thus you won't    <p>This package is not part of any Debian distribution. Thus you won't
249    find much information here. The old news is kept for historic purpose only.</p>    find much information here. The package is either very new and hasn't
250      appeared on mirrors yet, or it's an old package that eventually got removed.
251      The old news are kept for historic purpose only.</p>
252    
253    <table class="righttable">    <table class="righttable">
254    <xsl:variable name="static">      <xsl:call-template name="output-static">
255      <xsl:if test="$hasnews">        <xsl:with-param name="static" select="$static" />
256        <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">      </xsl:call-template>
257          <xsl:call-template name="outputitem"/>      <xsl:call-template name="output-news">
258        </xsl:for-each>        <xsl:with-param name="news" select="$news" />
259      </xsl:if>      </xsl:call-template>
   </xsl:variable>  
   <xsl:if test="count($static)>0 and string($static)!=''">  
     <tr class="titlerow">  
     <td class="titlecell">  
     Static Information  
     </td></tr>  
     <tr class="normalrow">  
     <td class="contentcell2">  
     <ul><xsl:copy-of select="$static"/></ul>  
     </td>  
     </tr>  
   </xsl:if>  
   
   <xsl:variable name="news">  
     <xsl:if test="$hasnews">  
       <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">  
         <xsl:call-template name="outputitem"/>  
       </xsl:for-each>  
     </xsl:if>  
   </xsl:variable>  
   <xsl:if test="count($news)>0 and string($news)!=''">  
     <tr class="titlerow">  
     <td class="titlecell">  
     Latest News  
     </td></tr>  
     <tr class="normalrow">  
     <td class="contentcell2">  
     <ul><xsl:copy-of select="$news"/></ul>  
     </td>  
     </tr>  
   </xsl:if>  
260    </table>    </table>
261    
262    <!-- END REMOVED PACKAGE -->    <!-- END REMOVED PACKAGE -->
# Line 255  other-to-%xx, especially % to %25... For Line 318  other-to-%xx, especially % to %25... For
318    <xsl:if test="not(uploaders)">    <xsl:if test="not(uploaders)">
319      <a class="none" title="You should find some co-maintainers ..." name="fake">None</a>      <a class="none" title="You should find some co-maintainers ..." name="fake">None</a>
320    </xsl:if>    </xsl:if>
321      <xsl:call-template name='add-maintenance-info' />
322    </td></tr>    </td></tr>
323    <tr class="normalrow">    <tr class="normalrow">
324    <td class="labelcell">Standards-Version</td>    <td class="labelcell">Standards-Version</td>
# Line 276  other-to-%xx, especially % to %25... For Line 340  other-to-%xx, especially % to %25... For
340    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
341    Bugs Count    Bugs Count
342    </td></tr>    </td></tr>
343    <tr class="normalrow">    <tr class="normalrow" id="bugs_all">
344    <td class="labelcell">All bugs</td>    <td class="labelcell">All bugs</td>
345    <td class="contentcell">    <td class="contentcell">
346    <xsl:element name="a">    <xsl:element name="a">
# Line 292  other-to-%xx, especially % to %25... For Line 356  other-to-%xx, especially % to %25... For
356    </xsl:element>    </xsl:element>
357    </td>    </td>
358    </tr>    </tr>
359    <tr class="normalrow">    <tr class="normalrow" id="bugs_rc">
360    <td class="labelcell">Release Critical</td>    <td class="labelcell">Release Critical</td>
361    <td class="contentcell">    <td class="contentcell">
362    <xsl:element name="a">    <xsl:element name="a">
# Line 309  other-to-%xx, especially % to %25... For Line 373  other-to-%xx, especially % to %25... For
373    </xsl:element>    </xsl:element>
374    </td>    </td>
375    </tr>    </tr>
376    <tr class="normalrow">    <tr class="normalrow" id="bugs_in">
377    <td class="labelcell">Important and Normal</td>    <td class="labelcell">Important and Normal</td>
378    <td class="contentcell">    <td class="contentcell">
379    <xsl:element name="a">    <xsl:element name="a">
# Line 326  other-to-%xx, especially % to %25... For Line 390  other-to-%xx, especially % to %25... For
390    </xsl:element>    </xsl:element>
391    </td>    </td>
392    </tr>    </tr>
393    <tr class="normalrow">    <tr class="normalrow" id="bugs_mw">
394    <td class="labelcell">Minor and Wishlist</td>    <td class="labelcell">Minor and Wishlist</td>
395    <td class="contentcell">    <td class="contentcell">
396    <xsl:element name="a">    <xsl:element name="a">
# Line 343  other-to-%xx, especially % to %25... For Line 407  other-to-%xx, especially % to %25... For
407    </xsl:element>    </xsl:element>
408    </td>    </td>
409    </tr>    </tr>
410    <tr class="normalrow">    <tr class="normalrow" id="bugs_fp">
411    <td class="labelcell">Fixed and Pending</td>    <td class="labelcell">Fixed and Pending</td>
412    <td class="contentcell">    <td class="contentcell">
413    <xsl:element name="a">    <xsl:element name="a">
# Line 363  other-to-%xx, especially % to %25... For Line 427  other-to-%xx, especially % to %25... For
427    
428    <tr class="titlerow">    <tr class="titlerow">
429    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
430    Subscription - <a class="titlelink" href="http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pkg-tracking-system">Package Tracking System</a>      <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
431    </td></tr>    </td></tr>
432    <tr class="normalrow">    <tr class="normalrow">
433    <td class="labelcell">Subscribers count</td>    <td class="labelcell">Subscribers count</td>
# Line 398  other-to-%xx, especially % to %25... For Line 462  other-to-%xx, especially % to %25... For
462    <xsl:for-each select="binary/item">    <xsl:for-each select="binary/item">
463      <xsl:sort select="text()"/>      <xsl:sort select="text()"/>
464      <xsl:variable name="pkg" select="text()"/>      <xsl:variable name="pkg" select="text()"/>
465      <li>      <li class="binpkg">
466      <a href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>      <a class="binpkg" href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>
467      <span style="font-size: 70%">      <span style="font-size: 70%">
468      (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:      (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:
469    
# Line 463  other-to-%xx, especially % to %25... For Line 527  other-to-%xx, especially % to %25... For
527    <!-- oldstable -->    <!-- oldstable -->
528    <xsl:if test="$hasoldstable">    <xsl:if test="$hasoldstable">
529    <tr class="normalrow">    <tr class="normalrow">
530    <td class="labelcell"><a href="http://www.debian.org/releases/woody/">Oldstable</a></td>    <td class="labelcell"><a href="http://www.debian.org/releases/sarge/">Oldstable</a></td>
531    <td class="contentcell">    <td class="contentcell">
532    <xsl:value-of select="document(concat('../base/', $dir, '/oldstable.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/oldstable.xml'))/source/version"/>
533    </td>    </td>
# Line 592  other-to-%xx, especially % to %25... For Line 656  other-to-%xx, especially % to %25... For
656              <xsl:call-template name="escape-name">              <xsl:call-template name="escape-name">
657                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
658              </xsl:call-template>              </xsl:call-template>
659              <xsl:text>&amp;include=patch&amp;exclude=pending</xsl:text>              <xsl:text>&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done</xsl:text>
660            </xsl:attribute>            </xsl:attribute>
661            Patches from BTS (<xsl:value-of select="$other/bugs/@patch"/>)            Patches from BTS (<xsl:value-of select="$other/bugs/@patch"/>)
662          </xsl:element>          </xsl:element>
# Line 634  other-to-%xx, especially % to %25... For Line 698  other-to-%xx, especially % to %25... For
698      <li>      <li>
699        <xsl:element name="a">        <xsl:element name="a">
700          <xsl:attribute name="href">          <xsl:attribute name="href">
701            <xsl:text>http://buildd.debian.org/build.php?pkg=</xsl:text>            <xsl:text>http://buildd.debian.org/pkg.cgi?pkg=</xsl:text>
702            <xsl:call-template name="escape-name">            <xsl:call-template name="escape-name">
703              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
704            </xsl:call-template>            </xsl:call-template>
705          </xsl:attribute>          </xsl:attribute>
706          <xsl:text>Buildd logs (</xsl:text>          <xsl:text>Buildd logs</xsl:text>
707        </xsl:element>        </xsl:element>
708          <xsl:text> (</xsl:text>
709        <xsl:element name="a">        <xsl:element name="a">
710          <xsl:attribute name="href">          <xsl:attribute name="href">
711            <xsl:text>http://experimental.debian.net/build.php?pkg=</xsl:text>            <xsl:text>http://experimental.debian.net/build.php?pkg=</xsl:text>
# Line 648  other-to-%xx, especially % to %25... For Line 713  other-to-%xx, especially % to %25... For
713              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
714            </xsl:call-template>            </xsl:call-template>
715          </xsl:attribute>          </xsl:attribute>
716          <xsl:text>experimental</xsl:text>          <xsl:text>more</xsl:text>
717        </xsl:element>        </xsl:element>
718        <xsl:text>)</xsl:text>        <xsl:text>)</xsl:text>
719      </li>      </li>
# Line 680  other-to-%xx, especially % to %25... For Line 745  other-to-%xx, especially % to %25... For
745      </li>      </li>
746    </xsl:if>    </xsl:if>
747    -->    -->
748    <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">    <xsl:if test="($hasunstable and $other/debcheck/@unstable='yes')
749      <li>        or ($hastesting and $other/debcheck/@testing='yes')
750        <xsl:element name="a">        or ($hasstable and $other/debcheck/@stable='yes')">
         <xsl:attribute name="href">  
           <xsl:text>http://qa.debian.org/debcheck.php?dist=unstable&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>  
         <xsl:text>Debcheck on unstable</xsl:text>  
       </xsl:element>  
     </li>  
   </xsl:if>  
   <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">  
     <li>  
       <xsl:element name="a">  
         <xsl:attribute name="href">  
           <xsl:text>http://qa.debian.org/debcheck.php?dist=testing&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>  
         <xsl:text>Debcheck on testing</xsl:text>  
       </xsl:element>  
     </li>  
   </xsl:if>  
   <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">  
751      <li>      <li>
752        <xsl:element name="a">        Debcheck on:
753          <xsl:attribute name="href">        <xsl:if test="$hasunstable">
754            <xsl:text>http://qa.debian.org/debcheck.php?dist=stable&amp;package=</xsl:text>          <xsl:text> </xsl:text>
755            <xsl:call-template name="escape-name">          <xsl:element name="a">
756              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>            <xsl:attribute name="href">
757            </xsl:call-template>              <xsl:text>http://qa.debian.org/debcheck.php?dist=unstable&amp;package=</xsl:text>
758          </xsl:attribute>              <xsl:call-template name="escape-name">
759          <xsl:text>Debcheck on stable</xsl:text>                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
760        </xsl:element>              </xsl:call-template>
761              </xsl:attribute>
762              <xsl:text>unstable</xsl:text>
763            </xsl:element>
764          </xsl:if>
765          <xsl:if test="$hastesting">
766            <xsl:text> </xsl:text>
767            <xsl:element name="a">
768              <xsl:attribute name="href">
769                <xsl:text>http://qa.debian.org/debcheck.php?dist=testing&amp;package=</xsl:text>
770                <xsl:call-template name="escape-name">
771                  <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
772                </xsl:call-template>
773              </xsl:attribute>
774              <xsl:text>testing</xsl:text>
775            </xsl:element>
776          </xsl:if>
777          <xsl:if test="$hasstable">
778            <xsl:element name="a">
779              <xsl:attribute name="href">
780                <xsl:text>http://qa.debian.org/debcheck.php?dist=stable&amp;package=</xsl:text>
781                <xsl:call-template name="escape-name">
782                  <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
783                </xsl:call-template>
784              </xsl:attribute>
785              <xsl:text>stable</xsl:text>
786            </xsl:element>
787          </xsl:if>
788      </li>      </li>
789    </xsl:if>    </xsl:if>
790    <!-- convert maintainer/name to follow lintian.debian.org convention [FG] -->    <!-- convert maintainer/name to follow lintian.debian.org convention [FG] -->
# Line 734  other-to-%xx, especially % to %25... For Line 802  other-to-%xx, especially % to %25... For
802        <xsl:text>Popcon stats</xsl:text>        <xsl:text>Popcon stats</xsl:text>
803      </xsl:element>      </xsl:element>
804    </li>    </li>
805      <li>
806        <xsl:element name="a">
807          <xsl:attribute name="href">
808            <xsl:text>http://svnbuildstat.debian.net/packages/info/</xsl:text>
809            <xsl:call-template name="escape-name">
810              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
811            </xsl:call-template>
812          </xsl:attribute>
813          <xsl:text>Svnbuildstat</xsl:text>
814        </xsl:element>
815      </li>
816    </ul>    </ul>
817    </td>    </td>
818    </tr>    </tr>
# Line 757  other-to-%xx, especially % to %25... For Line 836  other-to-%xx, especially % to %25... For
836    <td class="normalcell" colspan="2" style="text-align: left">    <td class="normalcell" colspan="2" style="text-align: left">
837    <ul>    <ul>
838    <xsl:for-each select="files/item">    <xsl:for-each select="files/item">
839      <li>      <li class="srcfile">
840      <xsl:element name="a">      <xsl:element name="a">
841        <xsl:attribute name="class">srcfile</xsl:attribute>        <xsl:attribute name="class">srcfile</xsl:attribute>
842        <xsl:attribute name="href">        <xsl:attribute name="href">
# Line 815  other-to-%xx, especially % to %25... For Line 894  other-to-%xx, especially % to %25... For
894              <xsl:call-template name="escape-name">              <xsl:call-template name="escape-name">
895                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
896              </xsl:call-template>              </xsl:call-template>
897              <xsl:text>&amp;include=patch&amp;exclude=pending</xsl:text>              <xsl:text>&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done</xsl:text>
898            </xsl:attribute>            </xsl:attribute>
899            <xsl:value-of select="$other/bugs/@patch"/> patch<xsl:if test="$other/bugs/@patch!='1'">es</xsl:if>            <xsl:value-of select="$other/bugs/@patch"/> patch<xsl:if test="$other/bugs/@patch!='1'">es</xsl:if>
900          </xsl:element>, you should include          </xsl:element>, you should include
# Line 892  other-to-%xx, especially % to %25... For Line 971  other-to-%xx, especially % to %25... For
971        <li>        <li>
972          <xsl:choose>          <xsl:choose>
973            <xsl:when test="$other/wnpp/@type='O'">            <xsl:when test="$other/wnpp/@type='O'">
974              <xsl:choose>
975              <xsl:when test="@release!='unstable' and @release!='experimental'">
976              The WNPP database contains an O (Orphaned) entry for
977              this package. This is probably an error, as it is neither part of
978              unstable nor experimental.
979              </xsl:when>
980              <xsl:otherwise>
981            <span style="font-weight: bold">This package has been orphaned</span>.            <span style="font-weight: bold">This package has been orphaned</span>.
982            This means that it does not have a real maintainer at the            This means that it does not have a real maintainer at the
983            moment. Please consider adopting this package if you are interested in it.            moment. Please consider adopting this package if you are interested in it.
984              </xsl:otherwise>
985              </xsl:choose>
986            </xsl:when>            </xsl:when>
987            <xsl:when test="$other/wnpp/@type='ITA'">            <xsl:when test="$other/wnpp/@type='ITA'">
988              <xsl:choose>
989              <xsl:when test="@release!='unstable' and @release!='experimental'">
990              The WNPP database contains an ITA (Intent To Adopt) entry for
991              this package. This is probably an error, as it is neither part of
992              unstable nor experimental.
993              </xsl:when>
994              <xsl:otherwise>
995            This package has been orphaned, but someone intends to maintain it.            This package has been orphaned, but someone intends to maintain it.
996              </xsl:otherwise>
997              </xsl:choose>
998            </xsl:when>            </xsl:when>
999            <xsl:when test="$other/wnpp/@type='RFA'">            <xsl:when test="$other/wnpp/@type='RFA'">
1000              <xsl:choose>
1001              <xsl:when test="@release!='unstable' and @release!='experimental'">
1002              The WNPP database contains an RFA (Request For Adoption) entry for
1003              this package. This is probably an error, as it is neither part of
1004              unstable nor experimental.
1005              </xsl:when>
1006              <xsl:otherwise>
1007            The current maintainer is looking for someone who can take over            The current maintainer is looking for someone who can take over
1008            maintenance of this package. If you are interested in this package,            maintenance of this package. If you are interested in this package,
1009            please consider taking it over. Alternatively you may            please consider taking it over. Alternatively you may
1010            want to be co-maintainer in order to help the actual maintainer.            want to be co-maintainer in order to help the actual maintainer.
1011              </xsl:otherwise>
1012              </xsl:choose>
1013            </xsl:when>            </xsl:when>
1014            <xsl:when test="$other/wnpp/@type='RFH'">            <xsl:when test="$other/wnpp/@type='RFH'">
1015              <xsl:choose>
1016              <xsl:when test="@release!='unstable' and @release!='experimental'">
1017              The WNPP database contains an RFH (Request For Help) entry for
1018              this package. This is probably an error, as it is neither part of
1019              unstable nor experimental.
1020              </xsl:when>
1021              <xsl:otherwise>
1022            The current maintainer is looking for someone who can help with the            The current maintainer is looking for someone who can help with the
1023            maintenance of this package. If you are interested in this package,            maintenance of this package. If you are interested in this package,
1024            please consider helping out. One way you can help is offer to be a            please consider helping out. One way you can help is offer to be a
1025            co-maintainer or triage bugs in the bts.            co-maintainer or triage bugs in the bts.
1026              </xsl:otherwise>
1027              </xsl:choose>
1028            </xsl:when>            </xsl:when>
1029            <xsl:when test="$other/wnpp/@type='ITP'">            <xsl:when test="$other/wnpp/@type='ITP'">
1030              <xsl:choose>
1031              <xsl:when test="@release!='unstable' and @release!='experimental'">
1032              The WNPP database contains an ITP (Intent To Package). This probably
1033              means that somebody is going to reintroduce this package into unstable.
1034              </xsl:when>
1035              <xsl:otherwise>
1036            The WNPP database contains an ITP (Intent To Package) entry for            The WNPP database contains an ITP (Intent To Package) entry for
1037            this package. This is probably an error, as it has already been            this package. This is probably an error, as it has already been
1038            packaged.            packaged.
1039              </xsl:otherwise>
1040              </xsl:choose>
1041            </xsl:when>            </xsl:when>
1042            <xsl:when test="$other/wnpp/@type='RFP'">            <xsl:when test="$other/wnpp/@type='RFP'">
1043              <xsl:choose>
1044              <xsl:when test="@release!='unstable' and @release!='experimental'">
1045              The WNPP database contains an RFP (Request For Package). This probably
1046              means that somebody would like to see this package reintroduced into
1047              unstable by a volunteer.
1048              </xsl:when>
1049              <xsl:otherwise>
1050            The WNPP database contains an RFP (Request For Package) entry            The WNPP database contains an RFP (Request For Package) entry
1051            for this package.  This is probably an error, as it has already            for this package.  This is probably an error, as it has already
1052            been packaged.            been packaged.
1053              </xsl:otherwise>
1054              </xsl:choose>
1055            </xsl:when>            </xsl:when>
1056            <xsl:when test="$other/wnpp/@type='RM'">            <xsl:when test="$other/wnpp/@type='RM'">
1057            <span style="font-weight: bold">This package has been requested to be            <span style="font-weight: bold">This package has been requested to be
# Line 982  other-to-%xx, especially % to %25... For Line 1114  other-to-%xx, especially % to %25... For
1114    </td>    </td>
1115    </tr>    </tr>
1116    </xsl:if>    </xsl:if>
   
1117    
1118    <xsl:variable name="static">    <xsl:call-template name="output-static">
1119      <xsl:if test="$hasnews">      <xsl:with-param name="static" select="$static" />
1120        <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">    </xsl:call-template>
1121          <xsl:call-template name="outputitem"/>    <xsl:call-template name="output-news">
1122        </xsl:for-each>      <xsl:with-param name="news" select="$news" />
1123      </xsl:if>    </xsl:call-template>
   </xsl:variable>  
   <xsl:if test="count($static)>0 and string($static)!=''">  
     <tr class="titlerow">  
     <td class="titlecell">  
     Static Information  
     </td></tr>  
     <tr class="normalrow">  
     <td class="contentcell2">  
     <ul><xsl:copy-of select="$static"/></ul>  
     </td>  
     </tr>  
   </xsl:if>  
   
   <xsl:variable name="news">  
     <xsl:if test="$hasnews">  
       <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">  
         <xsl:call-template name="outputitem"/>  
       </xsl:for-each>  
     </xsl:if>  
   </xsl:variable>  
   <xsl:if test="count($news)>0 and string($news)!=''">  
     <tr class="titlerow">  
     <td class="titlecell">  
     Latest News  
     </td></tr>  
     <tr class="normalrow">  
     <td class="contentcell2">  
     <ul><xsl:copy-of select="$news"/></ul>  
     </td>  
     </tr>  
   </xsl:if>  
1124    
1125    </table>    </table>
1126    <!-- END RIGHT SIDE -->    <!-- END RIGHT SIDE -->

Legend:
Removed from v.1425  
changed lines
  Added in v.1756

  ViewVC Help
Powered by ViewVC 1.1.5