diff options
author | randomdan <randomdan@localhost> | 2010-10-11 13:25:57 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-10-11 13:25:57 +0000 |
commit | aaa2e34490f28370dc6f1f911a6df576b8cd38ad (patch) | |
tree | ecb6fdcdad86a41e0e4cbfa24abb074ac756b1e0 /gentoobrowse/package.xslt | |
parent | Format the changelog properly in a pre (diff) | |
download | gentoobrowse-aaa2e34490f28370dc6f1f911a6df576b8cd38ad.tar.bz2 gentoobrowse-aaa2e34490f28370dc6f1f911a6df576b8cd38ad.tar.xz gentoobrowse-aaa2e34490f28370dc6f1f911a6df576b8cd38ad.zip |
Add robots txt
Reduce tab size
Fix regex in dependency finder
Add reverse deps to DB
Show reverse deps and dependee on site
Diffstat (limited to 'gentoobrowse/package.xslt')
-rw-r--r-- | gentoobrowse/package.xslt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gentoobrowse/package.xslt b/gentoobrowse/package.xslt index ca9b114..e0b6e3a 100644 --- a/gentoobrowse/package.xslt +++ b/gentoobrowse/package.xslt @@ -109,6 +109,12 @@ <xsl:if test="count(/gentoo/summary/package/deps/package) > 0"> <h3 class="tabhandle"><a href="javascript:showTab('deps');">Dependencies</a></h3> </xsl:if> + <xsl:if test="count(/gentoo/summary/package/rdeps/package) > 0"> + <h3 class="tabhandle"><a href="javascript:showTab('rdeps');">Reverse dependencies</a></h3> + </xsl:if> + <xsl:if test="count(/gentoo/summary/package/depees/package) > 0"> + <h3 class="tabhandle"><a href="javascript:showTab('depees');">Dependees</a></h3> + </xsl:if> <xsl:if test="count(/gentoo/summary/package/packageBugs/bug) > 0"> <h3 class="tabhandle"><a href="javascript:showTab('bugs');">Open bugs</a></h3> </xsl:if> @@ -123,6 +129,8 @@ <!-- content --> <xsl:apply-templates select="versions" /> <xsl:apply-templates select="deps" /> + <xsl:apply-templates select="rdeps" /> + <xsl:apply-templates select="depees" /> <xsl:apply-templates select="packageBugs" /> <xsl:apply-templates select="maskdetails" /> <xsl:apply-templates select="changelog" /> @@ -184,6 +192,24 @@ </xsl:if> </xsl:template> + <!-- Package reverse dependencies --> + <xsl:template match="/gentoo/summary/package/rdeps"> + <xsl:if test="count(/gentoo/summary/package/rdeps/package) > 0"> + <ul class="tabhidden" id="rdeps"> + <xsl:apply-templates match="/gentoo/summary/package/rdeps/package" /> + </ul> + </xsl:if> + </xsl:template> + + <!-- Package reverse dependencies --> + <xsl:template match="/gentoo/summary/package/depees"> + <xsl:if test="count(/gentoo/summary/package/depees/package) > 0"> + <ul class="tabhidden" id="depees"> + <xsl:apply-templates match="/gentoo/summary/package/depees/package" /> + </ul> + </xsl:if> + </xsl:template> + <!-- Package mask details --> <xsl:template match="/gentoo/summary/package/maskdetails"> <xsl:if test="count(/gentoo/summary/package/maskdetails/mask) > 0"> |