## $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/admin/chef_users_list.vm,v 1.2 2005/05/19 19:53:01 gsilver.umich.edu Exp $
<script type="text/javascript" language="JavaScript">
	focus_path = ["search"];
</script>
<div class="portletBody">
#if($menu)
	#toolbar($menu)
#end
	<h3>
		Users
	</h3>

		#if ($alertMessage)<div class="alertMessage">$tlang.getString("uselis.alert") $validator.escapeHtml($alertMessage)</div>#end
		<div class="instruction">
			$tlang.getString("uselis.theare")
		</div>
#if ($users.size() > 0)
			<table class="listHier lines" cellspacing="0" summary ="$tlang.getString("uselis.lisof")">
				<tr>
					<th id="Eid">$tlang.getString("uselis.useid")</th>
					<th id="Name">$tlang.getString("uselis.nam")</th>
					<th id="Email">$tlang.getString("uselis.ema")</th>
					<th id="Type">$tlang.getString("uselis.typ")</th>
					<th id="Id">$tlang.getString("uselis.useuid")</th>
				</tr>
	#foreach ($user in $users)
				<tr>
					<td headers="Eid">
		#if ($service.allowUpdateUser($user.Id))
						<a href="#toolLinkParam("$action" "doEdit" "id=$validator.escapeUrl($user.Id)")">
							$validator.escapeHtml($user.Eid)
						</a>
		#else
						$validator.escapeHtml($user.Eid)
		#end
					</td>
					<td headers="Name"><h4>$validator.escapeHtml($user.SortName)</h4></td>
					<td headers="Email">$validator.escapeHtml($user.Email)</td>
					<td headers="Type">$validator.escapeHtml($user.Type)</td>
					<td headers="Id">$validator.escapeHtml($user.Id)
					</td>
				</tr>
	#end
			</table>
#else
		<div class="instruction">
			$tlang.getString("uselis.nouse")
		</div>
#end
	</div>

