added publication date to news pages

svn path=/branches/design/; revision=17808
This commit is contained in:
samtuke 2010-10-20 12:05:38 +00:00
parent deac074a90
commit 04e3a458a0

View File

@ -66,6 +66,17 @@
<xsl:apply-templates select="node()"/>
</xsl:copy>
<!-- Apply news page rules -->
<xsl:if test="/buildinfo/document/html/@newsdate">
<xsl:element name="div">
<xsl:attribute name="id">article-metadata</xsl:attribute>
<xsl:element name="p">
<span class="label"> <xsl:apply-templates select="/buildinfo/textset/text[@id='published']/node()" />: </span><xsl:value-of select="/buildinfo/document/html/@newsdate" />
</xsl:element>
</xsl:element>
</xsl:if>
<!-- End apply news page rules -->
<!-- Apply article rules -->
<xsl:if test = "string(/buildinfo/document/head/meta[@name='author-name-1']/@content)">
<xsl:element name="div">