You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/07/30 19:27:20 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/xslt/admin/ipranges groups.xsl
andreas 2003/07/30 10:27:20
Modified: src/webapp/lenya/xslt/admin/users groups.xsl profile.xsl
src/webapp/lenya/xslt/admin/ipranges groups.xsl
Log:
show "id (name)" in selection boxes
Revision Changes Path
1.3 +4 -1 cocoon-lenya/src/webapp/lenya/xslt/admin/users/groups.xsl
Index: groups.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/admin/users/groups.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- groups.xsl 8 Jul 2003 16:12:12 -0000 1.2
+++ groups.xsl 30 Jul 2003 17:27:20 -0000 1.3
@@ -78,7 +78,10 @@
<xsl:template match="group">
<option value="{@id}">
- <xsl:value-of select="."/>
+ <xsl:value-of select="@id"/>
+ <xsl:if test="normalize-space(.)">
+  (<xsl:value-of select="normalize-space(.)"/>)
+ </xsl:if>
</option>
</xsl:template>
1.6 +1 -1 cocoon-lenya/src/webapp/lenya/xslt/admin/users/profile.xsl
Index: profile.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/admin/users/profile.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- profile.xsl 29 Jul 2003 14:32:53 -0000 1.5
+++ profile.xsl 30 Jul 2003 17:27:20 -0000 1.6
@@ -117,7 +117,7 @@
<tr>
<td class="lenya-entry-caption">Description</td>
<td>
- <input class="lenya-form-element" name="description" type="text" value="{description}"/>
+ <textarea class="lenya-form-element" name="description"><xsl:value-of select="normalize-space(.)"/> </textarea>
</td>
</tr>
</xsl:template>
1.2 +4 -1 cocoon-lenya/src/webapp/lenya/xslt/admin/ipranges/groups.xsl
Index: groups.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/admin/ipranges/groups.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- groups.xsl 22 Jul 2003 17:06:41 -0000 1.1
+++ groups.xsl 30 Jul 2003 17:27:20 -0000 1.2
@@ -78,7 +78,10 @@
<xsl:template match="group">
<option value="{@id}">
- <xsl:value-of select="."/>
+ <xsl:value-of select="@id"/>
+ <xsl:if test="normalize-space(.)">
+  (<xsl:value-of select="normalize-space(.)"/>)
+ </xsl:if>
</option>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org