Restrictions display improved

main
Inga 🏳‍🌈 14 years ago
parent 0f94dd2a5b
commit 0fb90b6173
  1. 4
      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,6 +193,7 @@
</xsl:template> </xsl:template>
<xsl:template match="restriction"> <xsl:template match="restriction">
<xsl:if test="layers/layer">
<tr> <tr>
<td> <td>
<a> <a>
@ -204,6 +205,7 @@
<xsl:apply-templates select="layers/layer"/> <xsl:apply-templates select="layers/layer"/>
</td> </td>
</tr> </tr>
</xsl:if>
</xsl:template> </xsl:template>
<xsl:template match="restriction/layers/layer"> <xsl:template match="restriction/layers/layer">

Loading…
Cancel
Save