projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updates banana.
[platal.git]
/
templates
/
xnetgrp
/
annuaire-csv.tpl
diff --git
a/templates/xnetgrp/annuaire-csv.tpl
b/templates/xnetgrp/annuaire-csv.tpl
index
1ce4ca9
..
75a8c8b
100644
(file)
--- a/
templates/xnetgrp/annuaire-csv.tpl
+++ b/
templates/xnetgrp/annuaire-csv.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
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 *}
@@
-19,12
+19,12
@@
{* 59 Temple Place, Suite 330; Boston, MA 02111-1307 USA *}
{* *}
{**************************************************************************}
{* 59 Temple Place, Suite 330; Boston, MA 02111-1307 USA *}
{* *}
{**************************************************************************}
-Nom,Prénom,Sexe,Promotion,
Email,
Commentaire
-{if $
ann
}
-{
iterate from=$ann item=m
}
+Nom,Prénom,Sexe,Promotion,Commentaire
+{if $
users|@count
}
+{
foreach from=$users item=user
}
-{$
m.nom},{$m.prenom},{if $m.sexe}F{else}M{/if},{$m.promo},{$m.email},{$m.
comm|replace:',':'\,'}
+{$
user->lastName()},{$user->firstName()},{if $user->isFemale()}F{else}M{/if},{$user->promo()},{$user->group_
comm|replace:',':'\,'}
-{/
iterate
}
+{/
foreach
}
{/if}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
{/if}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}