changed warning boxes to have reusable css classes

svn path=/trunk/; revision=23722
This commit is contained in:
samtuke
2012-07-05 13:39:31 +00:00
parent 6ee615040f
commit 1a156b7b10
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -774,7 +774,7 @@
<!-- Outdated note -->
<xsl:if test="/buildinfo/@outdated='yes'">
<xsl:element name="p">
<xsl:attribute name="id">outdated-notice</xsl:attribute>
<xsl:attribute name="class">warning red</xsl:attribute>
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'outdated'" /></xsl:call-template>
</xsl:element>
</xsl:if>
@@ -782,7 +782,7 @@
<!-- Missing translation note -->
<xsl:if test="/buildinfo/@language!=/buildinfo/document/@language">
<xsl:element name="p">
<xsl:attribute name="id">outdated-notice</xsl:attribute>
<xsl:attribute name="class">warning red</xsl:attribute>
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'notranslation'" /></xsl:call-template>
</xsl:element>
</xsl:if>
@@ -792,7 +792,7 @@
<xsl:attribute name="id">infobox</xsl:attribute>
<xsl:if test = "/buildinfo/document/head/meta[@name='under-construction' and @content='true']">
<xsl:element name="p">
<xsl:attribute name="id">under-construction-notice</xsl:attribute>
<xsl:attribute name="class">warning yellow</xsl:attribute>
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'under-construction'" /></xsl:call-template>
</xsl:element>
</xsl:if>