Commit 917356df authored by Leigh Stoller's avatar Leigh Stoller

Warn about Classic users who have not verified their account, do not

allow approval, but still allowed to send email and deny project.
parent 221ce815
......@@ -97,6 +97,7 @@ function Do_ProjectList()
$blob["leader_name"] = $leader->name();
$blob["leader_affil"] = $leader->affil();
$blob["leader_email"] = $leader->email();
$blob["leader_notyet"]= ($leader->status() == TBDB_USERSTATUS_NEWUSER ? 1 : 0);
$results[$project->pid()] = $blob;
}
......
......@@ -18,11 +18,13 @@
target="_blank">
<%- value.pid %></a>
<br>
<a href="#" class="approve-button">
<span class="glyphicon
glyphicon-thumbs-up"
style='color: green; margin-left: 3px;'
margin-bottom: 4px;'></span></a>
<% if (!value.leader_notyet) { %>
<a href="#" class="approve-button">
<span class="glyphicon
glyphicon-thumbs-up"
style='color: green; margin-left: 3px;'
margin-bottom: 4px;'></span></a>
<% } %>
<a href="#" class="deny-button">
<span class="glyphicon
glyphicon-thumbs-down"
......@@ -42,7 +44,11 @@
<td style='white-space: nowrap;'>
<a href='user-dashboard.php?user=<%- value.leader_idx %>#admin'
target="_blank">
<%- value.leader_name %></a></td>
<%- value.leader_name %></a>
<% if (value.leader_notyet) { %>
<span class="text-danger">(Classic user, not verified!)</span>
<% } %>
</td>
<td class="format-date" style='white-space: nowrap;'>
<%- value.created %></td>
<td><%- value.portal %></td>
......
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