Restrictions display improved

main
Inga 🏳‍🌈 14 years ago
parent 0f94dd2a5b
commit 0fb90b6173
  1. 26
      templates/Full/UserInfo.xslt

@ -139,7 +139,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<xsl:choose> <xsl:choose>
<xsl:when test="restrictions/restriction"> <xsl:when test="restrictions/restriction/layers/layer">
<table border="1" width="90%"> <table border="1" width="90%">
<tr class="tdheader"> <tr class="tdheader">
<td width="20%">Ðàçäåë</td> <td width="20%">Ðàçäåë</td>
@ -193,17 +193,19 @@
</xsl:template> </xsl:template>
<xsl:template match="restriction"> <xsl:template match="restriction">
<tr> <xsl:if test="layers/layer">
<td> <tr>
<a> <td>
<xsl:attribute name="href">/Board/<xsl:value-of select="board/id"/>/</xsl:attribute> <a>
<xsl:value-of select="board/name"/> <xsl:attribute name="href">/Board/<xsl:value-of select="board/id"/>/</xsl:attribute>
</a> <xsl:value-of select="board/name"/>
</td> </a>
<td> </td>
<xsl:apply-templates select="layers/layer"/> <td>
</td> <xsl:apply-templates select="layers/layer"/>
</tr> </td>
</tr>
</xsl:if>
</xsl:template> </xsl:template>
<xsl:template match="restriction/layers/layer"> <xsl:template match="restriction/layers/layer">

Loading…
Cancel
Save