All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit e1fe1bc7 authored by Leigh B Stoller's avatar Leigh B 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