85 lines
3.0 KiB
Plaintext
Executable File
85 lines
3.0 KiB
Plaintext
Executable File
!!!
|
|
%html
|
|
%head
|
|
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
|
|
|
|
:css
|
|
a {
|
|
color: #0088cc;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover, a:focus {
|
|
color: #005580;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
*{
|
|
|
|
line-height:1.3em;
|
|
}
|
|
|
|
|
|
%body{:style => "font-family: Helvetica,Arial;padding:0px;margin:0px;font-size:15px;"}
|
|
%table{:style => "max-width:1000px !important;width:100%;border-collapse:collapse;"}
|
|
%tr
|
|
%td{:colspan => "3", :style => "padding:20px;"}= yield
|
|
|
|
|
|
//#5bb1f3
|
|
//#e16b13
|
|
//
|
|
-if @options[:sheet] and @options[:sheet].last_year < Date.today.year
|
|
%tr{:style => "background:#e16b13;"}
|
|
%td{:colspan => "3", :style => "padding:10px;text-align:center;color:white;"}
|
|
%a{:href => "http://www.lepicvert.asso.fr/131/lassociation/adherer", :style => "color:white;text-decoration:none;"}
|
|
Attention : votre adhésion n'a pas encore été renouvelée pour
|
|
= Date.today.year.to_s+"."
|
|
|
|
|
|
|
|
%tr{:style => "background:#f4f3ef"}
|
|
%td{:style => "width:185px;padding:20px;padding-top:22px;padding-bottom:28px;padding-left:30px;"}
|
|
=link_to image_tag("http://lepicvert.org/logo.png", :style => "width:185px;border:0px;"),"http://www.lepicvert.asso.fr"
|
|
|
|
%td{:style => "padding-top:20px;vertical-align:top;padding-left:20px;color:#2d2d2d;"}
|
|
%p
|
|
|
|
=link_to "Association Le Pic Vert","http://www.lepicvert.asso.fr", :style => "color:#47a000;text-decoration:none;"
|
|
%br
|
|
24 place de la mairie
|
|
%br
|
|
38140 REAUMONT
|
|
%p
|
|
=link_to "www.lepicvert.asso.fr","http://www.lepicvert.asso.fr", :style => "color:black;text-decoration:none;border-bottom:1px solid #f4f3ef;"
|
|
%p
|
|
04 76 91 34 33
|
|
|
|
%td{:style => "padding-top:20px;vertical-align:top;padding-right:30px;color:#2d2d2d;width:300px;text-align:right;"}
|
|
%p
|
|
-if @options[:person]
|
|
Ce mail est envoyé à
|
|
=@options[:person].firstname
|
|
=@options[:person].surname
|
|
%br
|
|
-if @options[:sheet] and @options[:sheet].corporate?
|
|
=@options[:sheet].corporate
|
|
%br
|
|
-if @options[:sheet]
|
|
Cotisation à jour pour
|
|
=@options[:sheet].last_year.to_s+"."
|
|
|
|
|
|
|
|
|
|
%tr{:style => "background:#393939;color:#f6f6f6;text-align:center;"}
|
|
%td{:colspan => 3, :style => "padding:10px;font-size:12px;"}
|
|
Vous recevez ce mail car vous êtes adhérent ou sympatisant de l'association Le Pic Vert. Si vous ne souhaitez plus recevoir de mail de notre part n'hésitez pas à nous contacter.
|
|
-if @options[:sheet]
|
|
="-"
|
|
N° d'adhésion :
|
|
="#"+@options[:sheet].sheet_number.to_s
|
|
|
|
|
|
|
|
|