Changeset 1763


Ignore:
Timestamp:
05/06/16 20:53:39 (8 years ago)
Author:
nanardon
Message:

Don't manage entrance anymore in expiration warning

Location:
trunk/LATMOS-Accounts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Maintenance.pm

    r1735 r1763  
    4242    my $sth= $base->db->prepare(q{ 
    4343        select name, 
    44             coalesce(endcircuit, expire) as appliedexpire, 
     44            expire as appliedexpire, 
    4545            endcircuit, 
    4646            expire 
    4747            from "user" 
    4848            where 
    49             coalesce(endcircuit, expire) < now() + ?::interval 
    50             and coalesce(endcircuit, expire) > now() 
    51             and coalesce(endcircuit, expire) is not null 
     49            expire < now() + ?::interval 
     50            and expire > now() 
     51            and expire is not null 
    5252            and exported = True 
    5353            order by expire 
  • trunk/LATMOS-Accounts/templates/mail/account_expire.mail

    r1735 r1763  
    77En aucun cas vos fichiers ne seront détruits.  
    88 
    9 [% IF endcircuit %] 
    10 Il semble que vous n'avez pas fini votre circuit de sortie 
    11  
    12 Merci de terminer celui-ci pour voir votre compte prolongé. 
    13 [% ELSE %] 
    149Si ce dernier devait être prolongé, merci de dire à votre responsable 
    1510de contacter svp@latmos.ipsl.fr afin de nous donner la nouvelle date. 
    16 [% END %] 
    17  
    1811 
    1912Votre statut: 
     
    3629In no case your files will be destroyed. 
    3730 
    38 [% IF endcircuit %] 
    39 It seems you haven't finish your entrance circuit 
    40  
    41 Thanks to finish it to have your account prolongated. 
    42 [% ELSE %] 
    4331If your account had to be extended, please ask your manager to contact 
    4432svp@latmos.ipsl.fr to give us a new expiration date. 
    45 [% END %] 
    46  
    4733 
    4834Your status: 
Note: See TracChangeset for help on using the changeset viewer.