projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'xorg/maint' into xorg/master
[platal.git]
/
templates
/
admin
/
useredit.mail.tpl
diff --git
a/templates/admin/useredit.mail.tpl
b/templates/admin/useredit.mail.tpl
index
b1d394f
..
ac1dd74
100644
(file)
--- a/
templates/admin/useredit.mail.tpl
+++ b/
templates/admin/useredit.mail.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
08
Polytechnique.org *}
+{* Copyright (C) 2003-20
11
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-24,26
+24,19
@@
{if $mail_part eq 'head'}
{from full=#from#}
{to addr=#to#}
{if $mail_part eq 'head'}
{from full=#from#}
{to addr=#to#}
-{subject text="INTERVENTION de $
user
"}
+{subject text="INTERVENTION de $
admin
"}
{elseif $mail_part eq 'wiki'}
{elseif $mail_part eq 'wiki'}
-{if $deletion}
-L'utilisateur {$user} a été désinscrit.
-{else}
-Le profil du camarade {$old.prenom} {$old.nom} ({$old.promo}) a été édité.\\
+
+Le compte de l'utilisateur {$hruid} a été édité.\\
Les champs suivants ont été changés :
Les champs suivants ont été changés :
-{foreach from=$old item=value key=field}
-{if $value neq $new[$field]}
-* '''{$field}''' : {$value} -> {$new[$field]}
-{/if}
+{foreach from=$diff item=values key=field}
+* '''{$field}''' : {$values.0} -> {$values.1}
{/foreach}
Et ceux qui n'ont pas changé :
{/foreach}
Et ceux qui n'ont pas changé :
-{foreach from=$old item=value key=field}
-{if $value eq $new[$field]}
+{foreach from=$oldValues item=value key=field}
* '''{$field}''' : {$value}
* '''{$field}''' : {$value}
-{/if}
{/foreach}
{/if}
{/foreach}
{/if}
-{/if}
{* vim:set et sw=2 sts=2 sws=2: *}
{* vim:set et sw=2 sts=2 sws=2: *}