Update of /var/cvs/contributions/CMSContainer/cmsc/portal/src/webapp/WEB-INF/templates/layout In directory james.mmbase.org:/tmp/cvs-serv31313/cmsc/portal/src/webapp/WEB-INF/templates/layout
Modified Files: Tag: b1_5 PortletFragmentHeader.jsp Log Message: CMSC-1223 Render porltet information without anonymous cloud See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/portal/src/webapp/WEB-INF/templates/layout See also: http://www.mmbase.org/jira/browse/CMSC-1223 Index: PortletFragmentHeader.jsp =================================================================== RCS file: /var/cvs/contributions/CMSContainer/cmsc/portal/src/webapp/WEB-INF/templates/layout/PortletFragmentHeader.jsp,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -u -b -r1.8 -r1.8.2.1 --- PortletFragmentHeader.jsp 2 Jun 2008 09:04:41 -0000 1.8 +++ PortletFragmentHeader.jsp 3 Jan 2009 12:56:01 -0000 1.8.2.1 @@ -29,18 +29,15 @@ <a href="${modeInfo.url}" title="<fmt:message key='portletmode.${modeInfo.name}' />" class="portlet-mode-type-${modeInfo.type}"> <img src="<cmsc:staticurl page='/editors/gfx/icons/${modeInfo.name}.png'/>" border="0" alt="<fmt:message key='portletmode.${modeInfo.name}' />"/></a> </c:forEach> -<mm:cloud> -<mm:node number="${portletInfo.id}" notfound="skip"> + <div class="portlet-info" id="portlet-info-${portletInfo.id}"> - <mm:relatednodes type="portletdefinition"> - <fmt:message key="portletinfo.definition"/>: <mm:field name="title"/><br/> - </mm:relatednodes> - <mm:relatednodes type="view"> - <fmt:message key="portletinfo.view"/>: <mm:field name="title"/><br/> - </mm:relatednodes> +<c:if test="${portletInfo.definitionId gt 0}"> + <fmt:message key="portletinfo.definition"/>: ${portletInfo.definitionTitle}<br/> +</c:if> +<c:if test="${portletInfo.viewId gt 0}"> + <fmt:message key="portletinfo.view"/>: ${portletInfo.viewTitle} <br/> +</c:if> </div> -</mm:node> -</mm:cloud> </div> <br/> </div> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs