NIHVIVO-3213: Removed search section when there is no relations between proxies and profiles

This commit is contained in:
manolobevia 2011-11-09 20:40:38 +00:00
parent 2f685da26f
commit 593ca6d8b9

View file

@ -107,14 +107,14 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/js/jquery-ui/css/sm
</form> </form>
</section> </section>
<#if page.last != 0>
<h4>Profile editors</h4> <h4>Profile editors</h4>
<section id="search-proxy" role="region"> <section id="search-proxy" role="region">
<form action="${formUrls.list}" method="POST"> <form action="${formUrls.list}" method="POST">
<input type="text" name="searchTerm" role="input" /> <input type="text" name="searchTerm" role="input" />
<input class="submit" type="submit" name="searchByProxy" value="Search" role="button" /> <input class="submit" type="submit" name="searchByProxy" value="Search" role="button" />
<#if page.last != 0>
<#if page.previous??> <#if page.previous??>
| <a href="${formUrls.list}?pageIndex=${page.previous}&searchTerm=${searchTerm}">Previous</a> | <a href="${formUrls.list}?pageIndex=${page.previous}&searchTerm=${searchTerm}">Previous</a>
</#if> </#if>
@ -129,10 +129,10 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/js/jquery-ui/css/sm
<a href="${formUrls.list}">View all profile editors</a> <a href="${formUrls.list}">View all profile editors</a>
</p> </p>
</#if> </#if>
</#if>
</form> </form>
</section> </section>
</#if>
<#-- ---------------------------------> <#-- --------------------------------->