27 lines
1023 B
Plaintext

%table{:style => "min-width:100%"}
%tr
%td
-if @parrain != current_annonce_account
=render :partial => "public/annonce_accounts/annonce_account_binary", :object => current_annonce_account, :locals => {:inline_b => true}
%center="..."
-ancestors = []
-ancest = @parrain.binary_parent
-while ancest and ancest != current_annonce_account
- ancestors << ancest
-ancest = ancest.binary_parent
-ancestors.reverse.each do |ancest|
=render :partial => "public/annonce_accounts/annonce_account_binary", :object => ancest, :locals => {:inline_b => true}
%center="..."
=render :partial => "public/annonce_accounts/annonce_account_binary", :object => @parrain, :locals => {:inline_b => true}
-if @i_table != @nbr_levels
.binary_line
.line
=render :partial => "public/annonce_accounts/binary_table", :locals => {:i_table => 0, :liste => ""}