Update of /var/cvs/applications/editwizard/templates/data/xsl
In directory james.mmbase.org:/tmp/cvs-serv26477/data/xsl

Modified Files:
        list.xsl 
Log Message:
IMHO completely arbitrary 'nobr' tags where added in list.xsl. Moved that to 
CSS s that it is at least easy to escape it


See also: 
http://cvs.mmbase.org/viewcvs/applications/editwizard/templates/data/xsl


Index: list.xsl
===================================================================
RCS file: /var/cvs/applications/editwizard/templates/data/xsl/list.xsl,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- list.xsl    25 Apr 2008 16:55:45 -0000      1.51
+++ list.xsl    14 Oct 2008 12:51:19 -0000      1.52
@@ -7,7 +7,7 @@
     @author Kars Veling
     @author Michiel Meeuwissen
     @author Nico Klasens
-    @version $Id: list.xsl,v 1.51 2008/04/25 16:55:45 andre Exp $
+    @version $Id: list.xsl,v 1.52 2008/10/14 12:51:19 michiel Exp $
   -->
 
   <xsl:import href="xsl/baselist.xsl" />
@@ -402,17 +402,18 @@
   </xsl:template>
 
   <xsl:template match="field">
-    <td class="field">
-      <xsl:if test="position() &gt; 1">
-        <nobr>
+    <td class="field [EMAIL PROTECTED] pos{position()}">
+      <xsl:choose>
+        <xsl:when test="position() &gt; 1">
           <xsl:call-template name="writeCurrentField" />
-        </nobr>
-      </xsl:if>
-      <xsl:if test="position()=1">
+        </xsl:when>
+        <xsl:otherwise>
         <xsl:call-template name="writeCurrentField" />
         <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
-      </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
     </td>
   </xsl:template>
 
+
 </xsl:stylesheet>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to