Commit e1fe1bc7 authored by Leigh Stoller's avatar Leigh Stoller

Show nonlocal id on user info tab.

parent 9eee26fa
......@@ -49,6 +49,12 @@
<td>Status</td>
<td><%= fields.status %></td>
</tr>
<% if (fields.nonlocal_id != "") { %>
<tr>
<td>Nonlocal ID</td>
<td><%= fields.nonlocal_id %></td>
</tr>
<% } %>
<tr>
<td>Administrator</td>
<td><% if (fields.admin) { %>
......
......@@ -195,6 +195,8 @@ function Do_AccountDetails()
$results["admin"] = $target_user->admin() ? true : false;
$results["foreign_admin"] = $target_user->foreign_admin() ? true:false;
$results["web_frozen"] = $target_user->weblogin_frozen()? true:false;
$results["nonlocal_id"] = ($target_user->nonlocal_id() ?
$target_user->nonlocal_id() : "");
}
SPITAJAX_RESPONSE($results);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment