diff --git a/app/views/managements/partners.html.erb b/app/views/managements/partners.html.erb index e53a20ee..86b241f8 100644 --- a/app/views/managements/partners.html.erb +++ b/app/views/managements/partners.html.erb @@ -15,56 +15,61 @@ <% end %> -
-
-
-
-

添加时间<%= format_time @current_partner.try(:created_at) %>

-
- 管理员 -
    -
  • - <%= link_to '+', add_partner_member_box_managements_path(:partner => 1), :remote => true, :class => "addManage" %> -
  • + <% if @current_partner.present? %> +
    +
    +
    +
    +

    + 添加时间<%= format_time @current_partner.try(:created_at) %> +

    +
    + 管理员 +
      +
    • + <%= link_to '+', add_partner_member_box_managements_path(:partner => 1), :remote => true, :class => "addManage" %> +
    • - <% unless @current_partner.nil? %> - <% @current_partner.users.each_with_index do |user, index| %> -
    • - <%= image_tag(url_to_avatar(user)) %> - - - -
    • + <% unless @current_partner.nil? %> + <% @current_partner.users.each_with_index do |user, index| %> +
    • + <%= image_tag(url_to_avatar(user)) %> + + + +
    • + <% end %> <% end %> - <% end %> -
    +
+
-
-
-
  • - 序号 - 客户名称 - +添加 - 添加时间 -
  • - <% @current_partner.try(:customers).try(:each) do |customer| %> -
  • - <%= customer.school.id %> - <%= customer.school.name %> - +
    +
  • + 序号 + 客户名称 + +添加 + 添加时间 +
  • + <% @current_partner.try(:customers).try(:each) do |customer| %> +
  • + <%= customer.school.id %> + <%= customer.school.name %> + 删除 - + 2019-04-03 16:04 -
  • - <% end %> + + <% end %> +
    - + <% end %> +