NIHVIVO-2343 Show what search term was used, with a link back to all relationships.

This commit is contained in:
j2blake 2011-11-08 21:39:25 +00:00
parent 01ee0c3ce8
commit 4894b1ae1d

View file

@ -113,7 +113,7 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/js/jquery-ui/css/sm
<form action="${formUrls.list}" method="POST">
<input type="text" name="searchTerm" role="input" />
<input class="submit" type="submit" name="searchBytProxy" value="Search" role="button" /> |
<input class="submit" type="submit" name="searchByProxy" value="Search" role="button" /> |
<#if page.previous??>
<a href="${formUrls.list}?pageIndex=${page.previous}&searchTerm=${searchTerm}">Previous</a>
@ -122,6 +122,13 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/js/jquery-ui/css/sm
<#if page.next??>
<a href="${formUrls.list}?pageIndex=${page.next}&searchTerm=${searchTerm}">Next</a>
</#if>
<#if searchTerm?has_content>
<p>
Search results for "${searchTerm}" |
<a href="${formUrls.list}">View all proxies</a>
</p>
</#if>
</form>
</section>