lien adhésion

This commit is contained in:
Nicolas Bally 2013-06-29 19:47:15 +02:00
parent af9cbce191
commit c0814354c9
2 changed files with 5 additions and 4 deletions

View File

@ -53,7 +53,7 @@ class NewslettersController < ApplicationController
def show
@newsletter = Newsletter.find(params[:id])
@options = {}
render :layout => "mail"
end

View File

@ -32,9 +32,10 @@
-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;"}
Attention : votre adhésion n'a pas encore été renouvellée pour
= Date.today.year
="."
%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é renouvellée pour
= Date.today.year
="."
%tr{:style => "background:#f4f3ef"}