22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
|
<div style="width:460px;">
|
||
|
<div class="sy_popup_top">
|
||
|
<h3 class="fl">提示</h3>
|
||
|
<a href="javascript:void(0);" class="sy_icons_close fr" onclick="hideModal()"></a>
|
||
|
<div class="cl"></div>
|
||
|
</div>
|
||
|
<div class="sy_popup_con" style="width:380px;">
|
||
|
<ul class="sy_popup_add center" >
|
||
|
<%=l(:label_delete_confirm) %>
|
||
|
<%# if member.deletable? %>
|
||
|
<%#= !User.current.admin? && member.include?(User.current) ? l(:text_own_membership_for_project_confirmation) : l(:label_delete_confirm) %>
|
||
|
<%# end %>
|
||
|
<li class="mt10">
|
||
|
<label class="mr27"> </label>
|
||
|
<a href="javascript:void(0);" class="sy_btn_grey fl " onclick="hideModal()">取 消</a>
|
||
|
<!-- <a href="<%#= {:controller => 'repositories', :action => 'forked'} %>" class="sy_btn_blue fl ml20" onclick="hideModal();">确 定</a>-->
|
||
|
<%= link_to "确 定", membership_path(member), :method => "delete", :class => "sy_btn_blue fl ml20", :onclick => "hideModal();" %>
|
||
|
<div class="cl"></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|