Thread link in breadcrumbs improved

main
Inga 🏳‍🌈 14 years ago
parent 1c96972f6c
commit 65c9d6bdf8
  1. 2
      Builder/IISMainHandler/build.txt
  2. 3
      static/css/global.css
  3. 9
      templates/Full/elems/Main.xslt
  4. 9
      templates/Lite/elems/Main.xslt

@ -116,3 +116,6 @@ p {
.currentLink { .currentLink {
font-weight:bold; font-weight:bold;
} }
input {
z-index:90000;
}

@ -93,7 +93,14 @@
</xsl:if> </xsl:if>
<xsl:if test="thread/id"> <xsl:if test="thread/id">
<a> <a>
<xsl:attribute name="href">/Thread/<xsl:value-of select="thread/id"/>/</xsl:attribute> <xsl:attribute name="href">
<xsl:text>/Thread/</xsl:text>
<xsl:value-of select="thread/id"/>
<xsl:if test="parent::post/id">
<xsl:text>/p</xsl:text>
<xsl:value-of select="parent::post/id"/>
</xsl:if>
</xsl:attribute>
<xsl:value-of select="thread/name"/> <xsl:value-of select="thread/name"/>
</a> </a>
<xsl:text> &gt;&gt; </xsl:text> <xsl:text> &gt;&gt; </xsl:text>

@ -46,7 +46,14 @@
</xsl:if> </xsl:if>
<xsl:if test="thread/id"> <xsl:if test="thread/id">
<a> <a>
<xsl:attribute name="href">/Thread/<xsl:value-of select="thread/id"/>/</xsl:attribute> <xsl:attribute name="href">
<xsl:text>/Thread/</xsl:text>
<xsl:value-of select="thread/id"/>
<xsl:if test="parent::post/id">
<xsl:text>/p</xsl:text>
<xsl:value-of select="parent::post/id"/>
</xsl:if>
</xsl:attribute>
<xsl:value-of select="thread/name"/> <xsl:value-of select="thread/name"/>
</a> </a>
<xsl:text> &gt;&gt; </xsl:text> <xsl:text> &gt;&gt; </xsl:text>

Loading…
Cancel
Save