dev_local
parent
4cfc9a6171
commit
885ace98a9
@ -0,0 +1,5 @@
|
|||||||
|
<% @partners.each_with_index do |partner,index| %>
|
||||||
|
<li>
|
||||||
|
<%= link_to "#{partner.name}", partners_managements_path(:partner => partner), :class => "#{partner.id == @current_partner.id ? 'active' : ''}" %>
|
||||||
|
</li>
|
||||||
|
<% end %>
|
@ -0,0 +1,25 @@
|
|||||||
|
<% if @current_partner.present? %>
|
||||||
|
<div class="with75 fl pl20">
|
||||||
|
<div class="edu-back-white">
|
||||||
|
<div>
|
||||||
|
<div class="padding10-20">
|
||||||
|
<p class="mb20"><span class="mr30 color-grey-9">添加时间</span><span class="color-grey-6"><%= format_time @current_partner.try(:created_at) %></span></p>
|
||||||
|
<div class="clearfix">
|
||||||
|
<span class="mr45 color-grey-9 fl">管理员</span>
|
||||||
|
<ul class="manageList">
|
||||||
|
<li>
|
||||||
|
<%= link_to '+', add_partner_member_box_managements_path(:partner => @current_partner.try(:id)), :remote => true, :class => "addManage" %>
|
||||||
|
</li>
|
||||||
|
<div id="partner_member_list" class="fl">
|
||||||
|
<%= render :partial => "partner_member_list", :locals => {partner: @current_partner} %>
|
||||||
|
</div>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="tableList" id="partner_customer_list">
|
||||||
|
<%= render :partial => "partner_customer_list" %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
@ -0,0 +1,2 @@
|
|||||||
|
$("#partner_list").html("<%= j(render :partial => "partner_list") %>");
|
||||||
|
$("#partner_main_div").html("<%= j(render :partial => "partner_main_div") %>");
|
Loading…
Reference in new issue