| 634 |
</xsl:if> |
</xsl:if> |
| 635 |
</xsl:template> |
</xsl:template> |
| 636 |
|
|
| 637 |
<xsl:template name="patches"> |
<xsl:template name="ubuntu"> |
| 638 |
<!-- Patches list [FG] --> |
<!-- Patches list [FG] --> |
| 639 |
<xsl:if test="$other/@patches='yes'"> |
<xsl:if test="$other/@ubuntu='yes'"> |
| 640 |
<tr class="titlerow"> |
<tr class="titlerow"> |
| 641 |
<td class="titlecell" colspan="2"> |
<td class="titlecell" colspan="2"> |
| 642 |
Patches |
Ubuntu |
| 643 |
</td></tr> |
</td></tr> |
| 644 |
<tr> |
<tr> |
| 645 |
<td class="contentcell" colspan="2" style="text-align: left"> |
<td class="contentcell" colspan="2" style="text-align: left"> |
| 646 |
<ul> |
<ul> |
|
<xsl:for-each select="$other/patches/item"> |
|
| 647 |
<li> |
<li> |
| 648 |
<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> |
Version: <a href="{$other/ubuntu/@url}"><xsl:value-of select="$other/ubuntu/@version"/></a> |
| 649 |
</li> |
</li> |
| 650 |
</xsl:for-each> |
<xsl:if test="$other/ubuntu/patch"> |
| 651 |
<xsl:if test="$other/bugs/@patch!='0'"> |
<li> |
| 652 |
|
<a href="{$other/ubuntu/patch/@url}">Patch for version <xsl:value-of select="$other/ubuntu/patch/@version"/></a> |
| 653 |
|
</li> |
| 654 |
|
</xsl:if> |
| 655 |
|
<xsl:if test="$other/ubuntu/bugs"> |
| 656 |
<li> |
<li> |
| 657 |
<xsl:element name="a"> |
<a href="{$other/ubuntu/bugs/@url}"><xsl:value-of select="$other/ubuntu/bugs/@count"/> open bugs</a> |
|
<xsl:attribute name="href"> |
|
|
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&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>&include=tags:patch&exclude=tags:pending&pend-exc=done</xsl:text> |
|
|
</xsl:attribute> |
|
|
Patches from BTS (<xsl:value-of select="$other/bugs/@patch"/>) |
|
|
</xsl:element> |
|
| 658 |
</li> |
</li> |
| 659 |
</xsl:if> |
</xsl:if> |
| 660 |
</ul> |
</ul> |
| 1236 |
<xsl:call-template name="pts-subscription" /> |
<xsl:call-template name="pts-subscription" /> |
| 1237 |
</table> |
</table> |
| 1238 |
<table class="lefttable"> |
<table class="lefttable"> |
| 1239 |
<xsl:call-template name="patches" /> |
<xsl:call-template name="other-links" /> |
| 1240 |
</table> |
</table> |
| 1241 |
<table class="lefttable"> |
<table class="lefttable"> |
| 1242 |
<xsl:call-template name="other-links" /> |
<xsl:call-template name="ubuntu" /> |
| 1243 |
</table> |
</table> |
| 1244 |
</td></tr> |
</td></tr> |
| 1245 |
</table> |
</table> |