Punishments display improved in UserInfo

main
Inga 🏳‍🌈 14 years ago
parent 2d4501dfa8
commit 2aed534cf0
  1. 2
      Builder/IISMainHandler/build.txt
  2. 11
      templates/Full/UserInfo.xslt

@ -117,9 +117,10 @@
<table border="1" width="90%"> <table border="1" width="90%">
<tr class="tdheader"> <tr class="tdheader">
<td width="4%">Âåñ</td> <td width="4%">Âåñ</td>
<td width="38%">Сообщение</td> <td width="10%">Ðàçäåë</td>
<td width="33%">Ñîîáùåíèå</td>
<td width="10%">Ìîäåðàòîð</td> <td width="10%">Ìîäåðàòîð</td>
<td width="38%">Комментарий</td> <td width="33%">Êîììåíòàðèé</td>
<td width="10%">Èñòåêàåò</td> <td width="10%">Èñòåêàåò</td>
</tr> </tr>
<xsl:apply-templates select="punishments/punishment"/> <xsl:apply-templates select="punishments/punishment"/>
@ -151,6 +152,12 @@
<xsl:template match="punishment"> <xsl:template match="punishment">
<tr> <tr>
<td><xsl:value-of select="punishmentType/weightDescription"/></td> <td><xsl:value-of select="punishmentType/weightDescription"/></td>
<td>
<a>
<xsl:attribute name="href">/Board/<xsl:value-of select="originalBoard/board/id"/>/</xsl:attribute>
<xsl:value-of select="originalBoard/board/name"/>
</a>
</td>
<td> <td>
<a> <a>
<xsl:attribute name="href">/Post/<xsl:value-of select="post/id"/>/</xsl:attribute> <xsl:attribute name="href">/Post/<xsl:value-of select="post/id"/>/</xsl:attribute>

Loading…
Cancel
Save