]> granicus.if.org Git - apache/commitdiff
add href attribute to modules's status field
authorAndré Malo <nd@apache.org>
Thu, 6 Jul 2006 20:27:34 +0000 (20:27 +0000)
committerAndré Malo <nd@apache.org>
Thu, 6 Jul 2006 20:27:34 +0000 (20:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419690 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/quickreference.xsl
docs/manual/style/xsl/synopsis.xsl

index 8771e86424be68a5d87dbbc2a62264c26834d550..58f3c736e82c4e979dc8277c25782194264714f5 100644 (file)
             <xsl:when test="../status='Core'">C</xsl:when>
             <xsl:when test="../status='Extension'">E</xsl:when>
             <xsl:when test="../status='Experimental'">X</xsl:when>
+            <xsl:when test="../status='External'">
+                <xsl:choose>
+                <xsl:when test="../status/@href">
+                    <a href="{../status/@href}">T</a>
+                </xsl:when>
+                <xsl:otherwise>T</xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
             </xsl:choose>
         </td>
     </tr>
index fc48a588319333958e5a2821605a96cadd3c1ca4..5b558547e64c4e3de8f5d6ab28b41a6027279ee3 100644 (file)
                         </a>
                     </th>
                     <td>
-                        <xsl:value-of select="status" />
+                        <xsl:choose>
+                        <xsl:when test="status = 'External' and status/@href">
+                            <a href="{status/@href}">
+                                <xsl:value-of select="status" />
+                            </a>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:value-of select="status" />
+                        </xsl:otherwise>
+                        </xsl:choose>
                     </td>
                 </tr>