Punishments display on UserInfo page improved

main
Inga 🏳‍🌈 14 years ago
parent 981b4d3de2
commit 2d4501dfa8
  1. 27
      templates/Full/UserInfo.xslt

@ -112,16 +112,23 @@
<xsl:text>Penalties</xsl:text>
</td>
<td colspan="2">
<table border="1" width="90%">
<tr class="tdheader">
<td width="4%">Âåñ</td>
<td width="38%">Ñîîáùåíèå</td>
<td width="10%">Ìîäåðàòîð</td>
<td width="38%">Êîììåíòàðèé</td>
<td width="10%">Èñòåêàåò</td>
</tr>
<xsl:apply-templates select="punishments/punishment"/>
</table>
<xsl:choose>
<xsl:when test="punishments">
<table border="1" width="90%">
<tr class="tdheader">
<td width="4%">Âåñ</td>
<td width="38%">Ñîîáùåíèå</td>
<td width="10%">Ìîäåðàòîð</td>
<td width="38%">Êîììåíòàðèé</td>
<td width="10%">Èñòåêàåò</td>
</tr>
<xsl:apply-templates select="punishments/punishment"/>
</table>
</xsl:when>
<xsl:otherwise>
<xsl:text>Íåò</xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>

Loading…
Cancel
Save