You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ja...@apache.org on 2006/03/13 12:02:57 UTC

svn commit: r385508 - /lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/info/info.xsl

Author: jann
Date: Mon Mar 13 03:02:55 2006
New Revision: 385508

URL: http://svn.apache.org/viewcvs?rev=385508&view=rev
Log:
Adding Image dimensions to the asset tab

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/info/info.xsl

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/info/info.xsl
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/info/info.xsl?rev=385508&r1=385507&r2=385508&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/info/info.xsl (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/info/info.xsl Mon Mar 13 03:02:55 2006
@@ -21,6 +21,7 @@
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
     xmlns:lenya-info="http://apache.org/cocoon/lenya/info/1.0"
+    xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
     xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0"
     xmlns:rc="http://apache.org/cocoon/lenya/rc/1.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
@@ -196,6 +197,7 @@
         <th><i18n:text>Preview</i18n:text></th>
         <th><i18n:text>Title</i18n:text></th>
         <th><i18n:text>File Size</i18n:text></th>
+        <th><i18n:text>Dimension w x h</i18n:text></th>
         <th><i18n:text>Creation Date</i18n:text></th>
         <th></th>
       </tr>
@@ -210,6 +212,11 @@
            </td>
           <td><xsl:value-of select="dc:title"/></td>
           <td align="right"><xsl:value-of select="dc:extent"/> kB</td>
+          <td align="right">
+            <xsl:if test="lenya:imagewidth != ''">
+              <xsl:value-of select="lenya:imagewidth"/> x <xsl:value-of select="lenya:imageheight"/> 
+	        </xsl:if>
+          </td>
           <td align="right"><xsl:value-of select="dc:date"/></td>
           <td>
             <form name="asset-form">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org