Commit 5c2249c7 authored by david.verdin's avatar david.verdin
Browse files

[bug] error in creation email parameter when copying a list. List copy...

[bug] error in creation email parameter when copying a list. List copy notification message updated.


git-svn-id: https://subversion.renater.fr/sympa/trunk@5435 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 47c0a9de
......@@ -12,12 +12,14 @@ Subject: [% FILTER qencode %][%|loc(list.name,list.host,email)%]List "%1@%2" cre
[%|loc%]To activate/delete this mailing list :[%END%]
[% conf.wwsympa_url %]/ticket/[%one_time_ticket%]
[% ELSIF type == 'request_list_renaming' -%]
[%- ELSIF type == 'request_list_renaming' -%]
[%- IF is_a_copy -%]
Subject: [% FILTER qencode %][%|loc(new_listname)%]%1 mailing list creation[%END%][%END%]
[%|loc(email,list.name,new_listname)%]%1 has copied list "%2" as a new list "%3"[%END-%]
[%- ELSE -%]
Subject: [% FILTER qencode %][%|loc(list.name)%]List "%1" renaming[%END%][%END%]
[% IF is_a_copy %]
[%|loc(email,list.name,new_listname)%]%1 has copied list "%2" as a new list "%3"[%END%]
[% ELSE %]
[%|loc(email,list.name,new_listname)%]%1 has renamed list "%2" to "%3"[%END%]
[% END %]
......
......@@ -724,7 +724,7 @@ sub clone_list_as_empty {
return undef;
}
$list->{'admin'}{'serial'} = 0 ;
$list->{'admin'}{'creation_email'} = $email if ($email);
$list->{'admin'}{'creation'}{'email'} = $email if ($email);
$list->{'admin'}{'creation'}{'date_epoch'} = time;
$list->{'admin'}{'creation'}{'date'} = gettext_strftime "%d %b %y %H:%M", localtime($list->{'admin'}{'creation'}{'date_epoch'});
$list->save_config($email);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment