lien adhésion
This commit is contained in:
parent
af9cbce191
commit
c0814354c9
@ -53,7 +53,7 @@ class NewslettersController < ApplicationController
|
|||||||
|
|
||||||
def show
|
def show
|
||||||
@newsletter = Newsletter.find(params[:id])
|
@newsletter = Newsletter.find(params[:id])
|
||||||
|
@options = {}
|
||||||
render :layout => "mail"
|
render :layout => "mail"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -32,9 +32,10 @@
|
|||||||
-if @options[:sheet] and @options[:sheet].last_year < Date.today.year
|
-if @options[:sheet] and @options[:sheet].last_year < Date.today.year
|
||||||
%tr{:style => "background:#e16b13;"}
|
%tr{:style => "background:#e16b13;"}
|
||||||
%td{:colspan => "3", :style => "padding:10px;text-align:center;color:white;"}
|
%td{:colspan => "3", :style => "padding:10px;text-align:center;color:white;"}
|
||||||
Attention : votre adhésion n'a pas encore été renouvellée pour
|
%a{:href => "http://www.lepicvert.asso.fr/131/lassociation/adherer", :style => "color:white;text-decoration:none;"}
|
||||||
= Date.today.year
|
Attention : votre adhésion n'a pas encore été renouvellée pour
|
||||||
="."
|
= Date.today.year
|
||||||
|
="."
|
||||||
|
|
||||||
|
|
||||||
%tr{:style => "background:#f4f3ef"}
|
%tr{:style => "background:#f4f3ef"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user