From: <sfr...@us...> - 2012-01-24 17:29:12
|
Revision: 1018 http://treebase.svn.sourceforge.net/treebase/?rev=1018&view=rev Author: sfrgpiel Date: 2012-01-24 17:29:01 +0000 (Tue, 24 Jan 2012) Log Message: ----------- Adding data download links to the study search result list. Modified Paths: -------------- trunk/treebase-web/src/main/resources/ApplicationResources.properties trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/studyList.jsp Modified: trunk/treebase-web/src/main/resources/ApplicationResources.properties =================================================================== --- trunk/treebase-web/src/main/resources/ApplicationResources.properties 2012-01-20 14:04:31 UTC (rev 1017) +++ trunk/treebase-web/src/main/resources/ApplicationResources.properties 2012-01-24 17:29:01 UTC (rev 1018) @@ -192,6 +192,7 @@ citation.keywords= Keywords citation.pmid= PubMed ID citation.doi=DOI +citation.weblink=Link to Publication citation.abstract = Abstract citation.url = URL citation.type=Citation Type @@ -212,8 +213,8 @@ citation.update.success = Citation has been updated successfully #-- study -- -study.title = TreeBASE Submission Information -study.update.title = Update Treebase Submission +study.title = Submission Information +study.update.title = Update TreeBASE Submission study.id = Submission ID study.name = Name of study study.notes = Notes for study @@ -310,7 +311,7 @@ matrix.include = Included? matrix.description = Description download.original = Download Original File -download.reconstructedfile = Download Reconstructed File +download.reconstructedfile = Download Reconstructed NEXUS File download.unavailable = File download currently not available download.nexml = Download NeXML File download.json = Download JSON File 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 2012-01-20 14:04:31 UTC (rev 1017) +++ trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/studyList.jsp 2012-01-24 17:29:01 UTC (rev 1018) @@ -48,7 +48,10 @@ <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"/>" /> + <img class="iconButton" + src="<fmt:message key="icons.weblink"/>" + title="<fmt:message key="citation.weblink"/>" + alt="<fmt:message key="citation.weblink"/>"/> <!-- ${study.citation.doi} --></a> </c:if> </display:column> @@ -58,7 +61,7 @@ url="/search/study/summary.html" paramId="id" paramProperty="id" - class="iconColumn" + class="iconColumn noBreak" headerClass="iconColumn"> <img class="iconButton" @@ -66,6 +69,27 @@ title="<fmt:message key="study.title"/>" alt="<fmt:message key="study.title"/>"/> </display:column> + + <display:column + class="iconColumn" + headerClass="iconColumn" + sortable="false"> + <c:set var="baseLink" value="${study.phyloWSPath.purl}"/> + <a href="${baseLink}?format=nexus" target="_blank"> + <img + class="iconButton" + src="<fmt:message key="icons.download.reconstructed"/>" + title="<fmt:message key="download.reconstructedfile"/>" + alt="<fmt:message key="download.reconstructedfile"/>"/> + </a> + <a href="${baseLink}?format=nexml" target="_blank"> + <img + class="iconButton" + src="<fmt:message key="icons.xml"/>" + title="<fmt:message key="download.nexml"/>" + alt="<fmt:message key="download.nexml"/>"/> + </a> + </display:column> <display:footer> <tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |