From: <hs...@us...> - 2011-02-04 22:02:21
|
Revision: 773 http://treebase.svn.sourceforge.net/treebase/?rev=773&view=rev Author: hshyket Date: 2011-02-04 22:02:15 +0000 (Fri, 04 Feb 2011) Log Message: ----------- ASetting the DOI property to check not empty instead of just NULL. The empty string results were getting through on the row layout. Modified Paths: -------------- trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/studyList.jsp Modified: trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/studyList.jsp =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/studyList.jsp 2011-01-25 14:43:48 UTC (rev 772) +++ trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/studyList.jsp 2011-02-04 22:02:15 UTC (rev 773) @@ -45,7 +45,7 @@ </display:column> <display:column class="iconColumn noBreak" headerClass="iconColumn" sortable="false"> - <c:if test="${study.citation.doi != null}"> + <c:if test="${not empty study.citation.doi}"> <c:set var="DOIResource" value="${DOIResolver}${study.citation.doi}"/> <a href="${DOIResource}" target="_blank"> <img class="iconButton" src="<fmt:message key="icons.weblink"/>" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |