Withdrawed punishments display improved

main
Inga 🏳‍🌈 15 years ago
parent 2952e1ea77
commit b22687e555
  1. 2
      Builder/IISMainHandler/build.txt
  2. 4
      static/css/global.css
  3. 8
      templates/Full/elems/PostInfo.xslt
  4. 8
      templates/Lite/elems/PostInfo.xslt

@ -108,3 +108,7 @@ p {
.punishment {
color:red !important;
}
.punishment.withdrawed {
color:red !important;
text-decoration: line-through;
}

@ -169,7 +169,13 @@
<xsl:template match="specific/punishment">
<tr>
<td>
<font size="-2" class="punishment">
<font size="-2">
<xsl:attribute name="class">
<xsl:text>punishment</xsl:text>
<xsl:if test="isWithdrawed='true'">
<xsl:text> withdrawed</xsl:text>
</xsl:if>
</xsl:attribute>
<xsl:value-of select="punishmentType/description"/>
<xsl:text> (</xsl:text>
<xsl:value-of select="punishmentType/weightDescription"/>

@ -74,7 +74,13 @@
<xsl:template match="specific/punishment">
<tr>
<td>
<font size="-2" class="punishment">
<font size="-2">
<xsl:attribute name="class">
<xsl:text>punishment</xsl:text>
<xsl:if test="isWithdrawed='true'">
<xsl:text> withdrawed</xsl:text>
</xsl:if>
</xsl:attribute>
<xsl:value-of select="punishmentType/description"/>
<xsl:text> (</xsl:text>
<xsl:value-of select="punishmentType/weightDescription"/>

Loading…
Cancel
Save