From: Jose C. <jos...@us...> - 2009-05-26 10:20:27
|
Update of /cvsroot/gbif/portal-web/src/main/webapp/WEB-INF/jsp/dataset/drilldown/resource In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv24308/src/main/webapp/WEB-INF/jsp/dataset/drilldown/resource Modified Files: information.jsp Log Message: Bug 169 Enhancement: Formatted URLs as links in the metadata fields (rights, description) in Data Provider and dataset pages. Index: information.jsp =================================================================== RCS file: /cvsroot/gbif/portal-web/src/main/webapp/WEB-INF/jsp/dataset/drilldown/resource/information.jsp,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** information.jsp 6 May 2009 12:48:41 -0000 1.25 --- information.jsp 26 May 2009 10:20:16 -0000 1.26 *************** *** 3,8 **** <c:if test="${not empty dataResource.name}"><p><label><spring:message code="name"/>:</label>${dataResource.name}</p></c:if> <c:if test="${not empty dataResource.websiteUrl}"><p><label><spring:message code="website"/>:</label><a href="<c:if test="${fn:length(ataResource.websiteUrl)>6 && !fn:startsWith(dataResource.websiteUrl, 'http://')}">http://</c:if>${dataResource.websiteUrl}">${dataResource.websiteUrl}</a></p></c:if> ! <c:if test="${not empty dataResource.description}"><p><label><spring:message code="description"/>:</label>${dataResource.description}</p></c:if> ! <c:if test="${not empty dataResource.rights}"><p><label><spring:message code="rights"/>:</label>${dataResource.rights}</p></c:if> <%-- --- 3,8 ---- <c:if test="${not empty dataResource.name}"><p><label><spring:message code="name"/>:</label>${dataResource.name}</p></c:if> <c:if test="${not empty dataResource.websiteUrl}"><p><label><spring:message code="website"/>:</label><a href="<c:if test="${fn:length(ataResource.websiteUrl)>6 && !fn:startsWith(dataResource.websiteUrl, 'http://')}">http://</c:if>${dataResource.websiteUrl}">${dataResource.websiteUrl}</a></p></c:if> ! <c:if test="${not empty dataResource.description}"><p><label><spring:message code="description"/>:</label><gbif:formatText content="${dataResource.description}"/></p></c:if> ! <c:if test="${not empty dataResource.rights}"><p><label><spring:message code="rights"/>:</label><gbif:formatText content="${dataResource.rights}"/></p></c:if> <%-- |