// @status: 0 该项目不存在;1 不重复加入;2 成功加入; 3 已是项目成员;其它 加入失败 <% if @status == 0%> alert("<%= l('project.join.tips.notexist') %>"); <% elsif @status == 1%> alert("<%= l('project.join.tips.repeat') %>"); <% elsif @status == 2%> alert("<%= l('project.join.tips.success') %>"); <% elsif @status == 3%> alert("<%= l('project.join.tips.has') %>"); <%else%> alert("<%= l('project.join.tips.fail') %>"); <%end%>