项目邀请

This commit is contained in:
ouyangxuhua 2015-09-17 14:37:45 +08:00
parent d21dce566f
commit 99d6012718
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,7 @@
$("#valid_email").text("<%= l(:label_email_format_error)%>");
return false;
}
else if(email.split('@')[0].length >= 20)
else if(email.split('@')[0].length > 20)
{
$("#valid_email").text("邮箱名过长,最长为20个字符");
return false;
@ -96,6 +96,7 @@
<% @inviter_lists.each do |inviter_list| %>
<table>
<tbody>
<% if inviter_list.user != nil %>
<tr>
<td class="email"><%= inviter_list.user.mail %></td>
<td class="text-name">
@ -108,6 +109,7 @@
<td class="text-status"><%= status_for_ivitied(inviter_list, @project) %></td>
<!--<td class="text-time"><%#= time_tag(inviter_list.created_at).html_safe %></td>-->
</tr>
<% end %>
</tbody>
</table>
<% end %>