X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Femails%2Fduplicated.tpl;h=eb9571dd7376b45d60710978b235ee10a9f436ec;hb=5350d75199c4f10940ce8954c1bb302f8a49ead9;hp=bc24b675f7a55dfb06dce7d1a7817bb834554c10;hpb=3bfc5bfef382ffef0a9dc6e8996e6fcc947b0ee1;p=platal.git diff --git a/templates/emails/duplicated.tpl b/templates/emails/duplicated.tpl index bc24b67..eb9571d 100644 --- a/templates/emails/duplicated.tpl +++ b/templates/emails/duplicated.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -30,28 +30,29 @@ Utilisateurs - - Ajouter une entrée manuellement + Ajouter une entrée manuellement - créer{icon name=add} + créer{icon name=add} {foreach from=$table item=doublon} {$doublon.mail}
- Détecté le {$doublon.detection|date_format} + Détecté le {$doublon.detection|date_format} {$doublon.state} {foreach from=$doublon.users item=user name=all} + {if $user} {$user}{icon name=user_suit title="Fiche"} {icon name=wrench title="Administrer}{if !$smarty.foreach.all.last}
{/if} + {/if} {/foreach} @@ -62,7 +63,7 @@ {/foreach} {elseif $action eq "create" || $action eq "edit"} -[Retour à la liste des doublons]

+[Retour à la liste des doublons]

@@ -78,18 +79,20 @@  {$doublon.mail} + {foreach from=$doublon.users key=i name=all item=user} - {if $i is even}{/if} + {if $user} + {if $i is even}{/if} {if $i is even && $smarty.foreach.all.last}{/if} - {if $id is odd || $smarty.foreach.all.last}{/if} + {if $i is odd || $smarty.foreach.all.last}{/if} + {/if} {/foreach} - - + {/if} @@ -105,11 +108,13 @@ - {if $doublon.edit} + {if $doublon.edit} + + - {/if} + {/if}
{$user}{icon name=user_suit title="Fiche"} {icon name=wrench title="Administrer}{if !$smarty.foreach.all.last}
{/if}
Date de détectionDate de détection {$doublon.detection|date_format}
Description
- Dernière édition par {$doublon.edit} le {$doublon.last|date_format} + Dernière édition par {$doublon.edit} le {$doublon.last|date_format}
@@ -126,4 +131,4 @@ {/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}