You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.4 KiB
34 lines
1.4 KiB
6 years ago
|
<div class="pro_new_info mb20 bor-grey-e">
|
||
|
<div class="padding10-15 clearfix bor-bottom-greyE">
|
||
|
<h3 class="fl color-grey3 mt3"><%= @subPage_title %></h3>
|
||
|
<%# if is_project_manager?(User.current, @project) %>
|
||
|
<!--<span class="fr f14 fontGrey2" style="height: 40px; line-height: 40px;">
|
||
|
<%#=link_to "成员管理", settings_project_url(@project, :tab => 'members'), :id => @project.id, :class => "color-orange03", :style => "font-weight: normal;" %>
|
||
|
</span>-->
|
||
|
<%# end %>
|
||
|
<% if User.current.admin? || User.current.manager_of_project?(@project.id) %>
|
||
|
<a href="javascript:void(0)" class="white-btn orange-btn fr mt3" onclick="addmemberpart();">+ 添加</a>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<div class="member_content" id="project_member_list">
|
||
|
<%= error_messages_for 'member' %>
|
||
|
<%= render :partial => @render_file %>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="edu-txt-center mb50 mt30">
|
||
|
<div class="pages_user_show" style="width:auto; display:inline-block;">
|
||
|
<ul id="homework_pository_ref_pages">
|
||
|
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => true, :flag => true, :is_new => true %>
|
||
|
</ul>
|
||
|
<div class="cl"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script>
|
||
|
function addmemberpart(){
|
||
|
var htmlvalue = "<%= escape_javascript(render :partial => 'projects/settings/new_members')%>";
|
||
|
pop_box_new(htmlvalue, 500, 350);
|
||
|
}
|
||
|
</script>
|