diff options
-rw-r--r-- | gentoobrowse/css/general.css | 4 | ||||
-rw-r--r-- | gentoobrowse/xslt/package.xslt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gentoobrowse/css/general.css b/gentoobrowse/css/general.css index 4ca752c..8b08964 100644 --- a/gentoobrowse/css/general.css +++ b/gentoobrowse/css/general.css @@ -1085,3 +1085,7 @@ form#search input[type=search] { font-size: 9px; font-weight: lighter; } + +dd.missing { + color: silver; +} diff --git a/gentoobrowse/xslt/package.xslt b/gentoobrowse/xslt/package.xslt index 6cc68e9..a93c5c7 100644 --- a/gentoobrowse/xslt/package.xslt +++ b/gentoobrowse/xslt/package.xslt @@ -172,6 +172,10 @@ </xsl:if> </dt> <dd> + <xsl:if test="description = ''"> + <xsl:attribute name="class">missing</xsl:attribute> + <xsl:text>Missing description</xsl:text> + </xsl:if> <xsl:value-of select="description" /> </dd> </xsl:template> |