Update of /var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/repository In directory james.mmbase.org:/tmp/cvs-serv8310
Modified Files: asset.jsp Log Message: CMSC-1089 Change Assets display in two ways. list and thumbnails. Create url/edit url/preview/show info See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/repository See also: http://www.mmbase.org/jira/browse/CMSC-1089 Index: asset.jsp =================================================================== RCS file: /var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/repository/asset.jsp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -b -r1.10 -r1.11 --- asset.jsp 20 Nov 2008 08:55:29 -0000 1.10 +++ asset.jsp 20 Nov 2008 09:02:19 -0000 1.11 @@ -59,7 +59,7 @@ <% if (role != null && SecurityUtil.isWriter(role)) { %> <ul class="shortcuts"> <li class="new" style="text-decoration: none;"><fmt:message key="asset.new"/> - <form name="initForm" action="../AssetInitAction.do" method="post" style="display:inline;text-decoration:none"> + <form name="initForm" action="../WizardInitAction.do" method="post" style="display:inline;text-decoration:none"> <input type="hidden" name="action" value="create"/> <input type="hidden" name="creation" value="<mm:write referid="parentchannel" />"/> <input type="hidden" name="returnurl" value="<%= returnurl %>"/> @@ -157,7 +157,11 @@ <td onMouseDown="objClick(this);"> <mm:nodeinfo type="guitype"/></td> <td onMouseDown="objClick(this);"> + <c:set var="assettype" ><mm:nodeinfo type="guitype"/></c:set> <mm:field id="title" write="false" name="title"/> + <c:if test="${assettype == 'URL'}"> + <c:set var="title" ><mm:field name="name"/></c:set> + </c:if> <c:if test="${fn:length(title) > 50}"> <c:set var="title">${fn:substring(title,0,49)}...</c:set> </c:if>${title}</td> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs