Fix UserAccounts list page so it encodes the role URIs properly when filtering. Only show non-public roles for selections.

This commit is contained in:
j2blake 2011-12-23 17:38:31 +00:00
parent 5051c56f7a
commit c18e14a106
6 changed files with 14 additions and 10 deletions

View file

@ -50,7 +50,7 @@
<select name="roleFilterUri" id="roleFilterUri">
<option value="" <#if roleFilterUri = "">selected</#if> >Filter by roles</option>
<#list roles as role>
<option value="${formUrls.list}?roleFilterUri=${role.uri}" <#if roleFilterUri = role.uri>selected</#if> >${role.label}</option>
<option value="${formUrls.list}?roleFilterUri=${role.uri?url}" <#if roleFilterUri = role.uri>selected</#if> >${role.label}</option>
</#list>
<!--
When roleFilterUri or searchTerm changes,

View file

@ -41,7 +41,7 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
(matching property is not defined)
</#if>
</h4>
<table summary="Associated Individuals" width="100%">
<table summary="Associated Individuals">
<#if associatedIndividuals?has_content>
<#list associatedIndividuals as associatedIndividual>
<tr>
@ -59,7 +59,7 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
</table>
<h4>Identifier factories:</h4>
<table summary="Active Identifier Factories" width="100%">
<table summary="Active Identifier Factories">
<#list factories as factory>
<tr>
<td>${factory}</td>