-if params[:print] .header %h2 Liste des signataires %span.badge.badge-success ="(#{@petition.confirmed_signators_number})" %table.table.table %tr %th Date %th Nom %th Ville %th Pays %th -@petition.signators.where(:enabled => true).each do |signator| %tr{:class => (signator.enabled ? "success" : "warning")} %td=l signator.created_at, :format => :date %td =signator.firstname.titleize =signator.name.upcase %td =signator.cp =signator.city.upcase %td{:style => "width:60px"} =ISO3166::Country.new(signator.country).translations['fr'].upcase %td=#link_to i(:envelope), reconfirm_admin_petition_path(signator) if !signator.enabled :scss body{ font-family:Palatino; font-size:18px; } table{ width:100%; border-collapse:collapse; tr{ &:nth-child(even){ background:rgba(0,0,0,0.05); } } td,th{ font-size:11px; padding:8px 10px; } } -else .qi_header %h1 Pétitions %span signatures pour la pétition : =@petition.lang("fr").title .qi_row .qi_pannel.qi_plain.padding .header %h2 Liste des signataires %p %span.badge.badge-success=@petition.confirmed_signators_number =raw "- "+raw(content_tag("span", (@petition.signators_number-@petition.confirmed_signators_number).to_s, :class => "badge badge-warning"))+" en attente" if @petition.signators_number-@petition.confirmed_signators_number > 0 %table.table.table %tr %th Date %th Coordonnées %th Email %th Tel %th -@petition.signators.each do |signator| %tr{:class => (signator.enabled ? "success" : "warning")} %td=l signator.created_at, :format => :date %td =signator.firstname =signator.name -if signator.address %br =signator.address -if signator.address2 %br =signator.address2 %br =signator.cp =signator.city =signator.country %td=signator.email %td=signator.phone %td=#link_to i(:envelope), reconfirm_admin_petition_path(signator) if !signator.enabled