2016-07-28 14:42:36 +08:00
|
|
|
<div id="sy_popup_box" style="width:380px;">
|
|
|
|
<div class="sy_popup_top sy_popup_top_tishi">
|
|
|
|
<h3 class="fl">提示</h3>
|
|
|
|
<a href="javascript:void(0);" class="sy_icons_close02 fr" onclick="hideModal()"></a>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
|
|
|
<div class="sy_popup_con02" >
|
|
|
|
<ul class="sy_popup_tishi ">
|
|
|
|
<li>
|
|
|
|
<% if @flag == 1 %>
|
|
|
|
<p>您输入的邀请码错误</p>
|
|
|
|
<% elsif @flag == 2 %>
|
|
|
|
<p>您已经是该项目成员</p>
|
|
|
|
<% elsif @flag == 3 %>
|
|
|
|
<p>请选择一个角色</p>
|
|
|
|
<% elsif @flag == 4 %>
|
|
|
|
<p>您的申请已提交,请等待项目管理员审批</p>
|
2016-08-01 09:50:05 +08:00
|
|
|
<% elsif @flag == 5 %>
|
|
|
|
<p>您已经申请加入该项目了,请耐心等待</p>
|
2016-08-05 16:35:22 +08:00
|
|
|
<% elsif @flag == 6 %>
|
|
|
|
<p>您已成功加入项目</p>
|
2016-07-28 14:42:36 +08:00
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
<li>
|
2016-08-05 16:35:22 +08:00
|
|
|
<% if @flag == 6 %>
|
|
|
|
<%= link_to "知道了", project_path(@project), :class => "sy_btn_blue" %>
|
|
|
|
<% else %>
|
2016-07-28 14:42:36 +08:00
|
|
|
<a href="javascript:void(0);" class="sy_btn_blue " onclick="hideModal()">知道了</a>
|
2016-08-05 16:35:22 +08:00
|
|
|
<% end %>
|
2016-07-28 14:42:36 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|