Changeset 74


Ignore:
Timestamp:
03/18/09 13:07:00 (15 years ago)
Author:
nanardon
Message:
  • add ballot url in mail
Location:
trunk/lib/Vote
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Vote/Controller/Admin.pm

    r61 r74  
    9292                and $vote->db->commit; 
    9393        } elsif($c->req->param('mailpasswd')) { 
    94             $vote->mail_passwd_ifnul($id); 
     94            $vote->mail_passwd_ifnul($id, { 
     95                voteurl => $c->uri_for('/ballot', $id), 
     96            }); 
    9597        } 
    9698    } elsif ($vote->vote_status($id) eq 'AFTER') { 
  • trunk/lib/Vote/Model/Vote.pm

    r69 r74  
    770770    }); 
    771771    print $mailer <<EOF; 
    772 Vous êtes convié à voter: 
     772Vous etes convie à participer a ce vote: 
    773773$voteinfo->{label} 
     774 
     775a l'adresse: 
     776 
     777$mailinfo->{voteurl} 
    774778 
    775779Votre identifiant est: $vinfo->{mail} 
Note: See TracChangeset for help on using the changeset viewer.