/[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 1302 by hertzog, Sun Mar 12 10:25:19 2006 UTC revision 1303 by hertzog, Sun Mar 12 13:28:41 2006 UTC
# Line 123  other-to-%xx, especially % to %25... For Line 123  other-to-%xx, especially % to %25... For
123    </xsl:element>    </xsl:element>
124    source package</h1>    source package</h1>
125    
126      <xsl:choose>
127      <xsl:when test="$removed='yes'">
128      <!-- REMOVED PACKAGE -->
129      <p>This package is no more part of any Debian distribution. Thus you won't
130      find many information here. The old news are kept for historic purpose.</p>
131    
132      <table class="righttable">
133      <xsl:variable name="static">
134        <xsl:if test="$hasnews">
135          <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
136            <xsl:call-template name="outputitem"/>
137          </xsl:for-each>
138        </xsl:if>
139      </xsl:variable>
140      <xsl:if test="count($static)>0 and string($static)!=''">
141        <tr class="titlerow">
142        <td class="titlecell">
143        Static Information
144        </td></tr>
145        <tr class="normalrow">
146        <td class="contentcell2">
147        <ul><xsl:copy-of select="$static"/></ul>
148        </td>
149        </tr>
150      </xsl:if>
151    
152      <xsl:variable name="news">
153        <xsl:if test="$hasnews">
154          <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
155            <xsl:call-template name="outputitem"/>
156          </xsl:for-each>
157        </xsl:if>
158      </xsl:variable>
159      <xsl:if test="count($news)>0 and string($news)!=''">
160        <tr class="titlerow">
161        <td class="titlecell">
162        Latest News
163        </td></tr>
164        <tr class="normalrow">
165        <td class="contentcell2">
166        <ul><xsl:copy-of select="$news"/></ul>
167        </td>
168        </tr>
169      </xsl:if>
170      </table>
171    
172      <!-- END REMOVED PACKAGE -->
173      </xsl:when>
174      <xsl:otherwise>
175      <!-- NON REMOVED PACKAGE -->
176    
177    <table class="containertable">    <table class="containertable">
178    <tr class="containerrow" valign="top">    <tr class="containerrow" valign="top">
179    <td class="containercell">    <td class="containercell">
# Line 802  other-to-%xx, especially % to %25... For Line 853  other-to-%xx, especially % to %25... For
853        and your package only follows        and your package only follows
854        <xsl:value-of select="standards-version"/>...</li>        <xsl:value-of select="standards-version"/>...</li>
855      </xsl:if>      </xsl:if>
856        <xsl:if test="@release!='unstable' and @release!='experimental'">
857          <li>This package is neither part of unstable nor experimental. This
858          probably means that the package <a
859          href="http://ftp-master.debian.org/removals.txt">has been removed</a> (or
860          has been renamed). Thus the information here is of little interest ...
861          the package is going to disappear unless someone takes it over and
862          reintroduces it into unstable.</li>
863        </xsl:if>
864      <xsl:if test="$hasother">      <xsl:if test="$hasother">
865    
866        <!-- Override disparity handling. [JvW] -->        <!-- Override disparity handling. [JvW] -->
# Line 957  other-to-%xx, especially % to %25... For Line 1016  other-to-%xx, especially % to %25... For
1016    <!-- END RIGHT SIDE -->    <!-- END RIGHT SIDE -->
1017    </td></tr>    </td></tr>
1018    </table>    </table>
1019    
1020      <!-- END NON REMOVED PACKAGE -->
1021      </xsl:otherwise>
1022      </xsl:choose>
1023    
1024    <hr/>    <hr/>
1025    <p>    <p>
1026    Debian Package Tracking System - Copyright 2002-2005 Raphaël Hertzog and    Debian Package Tracking System - Copyright 2002-2005 Raphaël Hertzog and

Legend:
Removed from v.1302  
changed lines
  Added in v.1303

  ViewVC Help
Powered by ViewVC 1.1.5