Author: andre
Date: 2010-06-09 17:40:00 +0200 (Wed, 09 Jun 2010)
New Revision: 42495
Modified:
openimages/trunk/src/main/webapp/mmbase/components/oip/user-streams.jspx
Log:
substring of filename
Modified:
openimages/trunk/src/main/webapp/mmbase/components/oip/user-streams.jspx
===================================================================
--- openimages/trunk/src/main/webapp/mmbase/components/oip/user-streams.jspx
2010-06-09 14:43:03 UTC (rev 42494)
+++ openimages/trunk/src/main/webapp/mmbase/components/oip/user-streams.jspx
2010-06-09 15:40:00 UTC (rev 42495)
@@ -49,7 +49,9 @@
<th>${fn:toLowerCase(_.state)}</th>
<td>
<mm:import id="mimetype" reset="true"><mm:field
name="mimetype" /></mm:import>
- <a title="${mimetype} ${_.dimension}"
href="${mm:escape('text/xml', _.URL)}">${_.filename}</a>
+ <a title="${mimetype} ${_.dimension}"
href="${mm:escape('text/xml', _.URL)}">
+ <oip:filesubstr filename="${_.filename}" length="36" />
+ </a>
(${mimetype}<c:if test="${!empty _.dimension}">,
${_.dimension}</c:if>)
</td>
</tr>
@@ -136,11 +138,13 @@
<mm:import id="more_info" reset="true">${_.mimeType}<jsp:text>
</jsp:text><mm:node number="${_.source.number}" notfound="skip"><mm:hasfield
name="key"><mm:field name="key" /></mm:hasfield></mm:node></mm:import>
<c:choose>
<c:when test="${_.available}">
- <a title="${more_info}" href="${mm:escape('text/xml',
_.URL)}">${_.filename}</a>
+ <a title="${more_info}" href="${mm:escape('text/xml',
_.URL)}">
+ <oip:filesubstr filename="${_.filename}" length="36" />
+ </a>
(${_.mimeType}<c:if test="${!empty _.dimension}">,
${_.dimension}</c:if>)
</c:when>
<c:otherwise>
- <span title="${more_info}">${_.filename}</span>
+ <span title="${more_info}"><oip:filesubstr
filename="${_.filename}" length="36" /></span>
(${_.mimeType})
</c:otherwise>
</c:choose>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs