projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'platal-0.9.17'
[platal.git]
/
templates
/
xnetevents
/
admin.tpl
diff --git
a/templates/xnetevents/admin.tpl
b/templates/xnetevents/admin.tpl
index
975951a
..
8b10415
100644
(file)
--- a/
templates/xnetevents/admin.tpl
+++ b/
templates/xnetevents/admin.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-200
7
Polytechnique.org *}
+{* Copyright (C) 2003-200
8
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 *}
@@
-20,30
+20,31
@@
{* *}
{**************************************************************************}
{* *}
{**************************************************************************}
-<h1>{$asso.nom} : <a href='{$platal->ns}events'>
E
vénements</a> </h1>
+<h1>{$asso.nom} : <a href='{$platal->ns}events'>
É
vénements</a> </h1>
<p>
L'événement {$evt.intitule}
{if $evt.titre} - {$evt.titre}
{/if}
<p>
L'événement {$evt.intitule}
{if $evt.titre} - {$evt.titre}
{/if}
-{if $evt.titre || count($moments) eq
0
}
+{if $evt.titre || count($moments) eq
1
}
comptera {$evt.nb_tot} personne{if $evt.nb_tot > 1}s{/if}.
{else}
comptera {$evt.nb_tot} personne{if $evt.nb_tot > 1}s{/if}.
{else}
-({$evt.nb} personne{if $evt.nb > 1}s
{/if} ont réalisé leur
inscription).
+({$evt.nb} personne{if $evt.nb > 1}s
ont réalisé leur{else} a réalisé son{/if}
inscription).
{/if}
</p>
{if $evt.participant_list && $is_admin}
<p class="center">
{/if}
</p>
{if $evt.participant_list && $is_admin}
<p class="center">
-[<a href="mailto:?bcc={$evt.short_name}-participants@{#globals.xnet.evts_domain#}">envoyer un mail à ceux qui viennent</a>]
+[<a href="mailto:?bcc={$evt.short_name}-participants@{#globals.xnet.evts_domain#}">envoyer un
e
mail à ceux qui viennent</a>]
-
-
-[<a href="mailto:?bcc={$evt.short_name}-absents@{#globals.xnet.evts_domain#}">envoyer un mail aux membres non inscrits</a>]
+[<a href="mailto:?bcc={$evt.short_name}-absents@{#globals.xnet.evts_domain#}">envoyer un
e
mail aux membres non inscrits</a>]
</p>
{/if}
{if count($moments) > 1}
<p class="center">
</p>
{/if}
{if count($moments) > 1}
<p class="center">
-[<a href="{$platal->ns}events/admin/{$evt.short_name|default:$evt.eid}"{if !$platal->argv[2]}class="erreur"{/if}>tout</a>]
+[<a href="{$platal->ns}events/admin/{$evt.short_name|default:$evt.eid}"{if
+!$platal->argv[2]}class="erreur"{/if}>Vue générale</a>]
{foreach from=$moments item=m}
[<a href="{$platal->ns}events/admin/{$evt.short_name|default:$evt.eid}/{$m.item_id}" {if $platal->argv[2] eq $m.item_id}class="erreur"{/if}>{$m.titre}</a>]
{/foreach}
{foreach from=$moments item=m}
[<a href="{$platal->ns}events/admin/{$evt.short_name|default:$evt.eid}/{$m.item_id}" {if $platal->argv[2] eq $m.item_id}class="erreur"{/if}>{$m.titre}</a>]
{/foreach}
@@
-95,7
+96,7
@@
Ils ont payé mais ont oublié de s'inscrire :
<td>
<a href="https://www.polytechnique.org/profile/{$m.email}">{icon name=user_suit title="fiche"}</a>
<a href="https://www.polytechnique.org/vcard/{$m.email}.vcf">{icon name=vcard title="vcard"}</a>
<td>
<a href="https://www.polytechnique.org/profile/{$m.email}">{icon name=user_suit title="fiche"}</a>
<a href="https://www.polytechnique.org/vcard/{$m.email}.vcf">{icon name=vcard title="vcard"}</a>
- <a href="mailto:{$m.email}@{#globals.mail.domain#}">{icon name=email title="mail"}</a>
+ <a href="mailto:{$m.email}@{#globals.mail.domain#}">{icon name=email title="
e
mail"}</a>
</td>
<td>{$m.montant}</td>
</tr>
</td>
<td>{$m.montant}</td>
</tr>
@@
-150,9
+151,9
@@
Ils ont payé mais ont oublié de s'inscrire :
{if $m.x}
<a href="https://www.polytechnique.org/profile/{$m.email}">{icon name=user_suit title="fiche"}</a>
<a href="https://www.polytechnique.org/vcard/{$m.email}.vcf">{icon name=vcard title="vcard"}</a>
{if $m.x}
<a href="https://www.polytechnique.org/profile/{$m.email}">{icon name=user_suit title="fiche"}</a>
<a href="https://www.polytechnique.org/vcard/{$m.email}.vcf">{icon name=vcard title="vcard"}</a>
- <a href="mailto:{$m.email}@{#globals.mail.domain#}">{icon name=email title="mail"}</a>
+ <a href="mailto:{$m.email}@{#globals.mail.domain#}">{icon name=email title="
e
mail"}</a>
{else}
{else}
- <a href="mailto:{$m.email}">{icon name=email title="mail"}</a>
+ <a href="mailto:{$m.email}">{icon name=email title="
e
mail"}</a>
{/if}
</td>
{if $tout}
{/if}
</td>
{if $tout}
@@
-178,7
+179,7
@@
Ils ont payé mais ont oublié de s'inscrire :
{/if}
</tr>
{/foreach}
{/if}
</tr>
{/foreach}
- {if $is_admin && $evt.money}
+ {if $is_admin && $evt.money
&& $tout
}
<tr>
{assign var=cols value=$moments|@count}
<td colspan="{$cols+3}" class="right"><strong>Total</strong></td>
<tr>
{assign var=cols value=$moments|@count}
<td colspan="{$cols+3}" class="right"><strong>Total</strong></td>
@@
-225,29
+226,32
@@
Ils ont payé mais ont oublié de s'inscrire :
{if $is_admin}
<p class="descr">
{if $is_admin}
<p class="descr">
-[<a href="{$platal->ns}events/csv/{$evt.eid}/{$platal->argv[2]}/{$evt.intitule}{if $evt.titre}.{$evt.titre}{/if}.csv">Télécharger le fichier Excel</a>]
+ <a href="{$platal->ns}events/csv/{$evt.eid}/{$platal->argv[2]}/{$evt.intitule}{if $evt.titre}.{$evt.titre}{/if}.csv">
+ {icon name=page_excel title="Télécharger au format Excel"} Télécharger le fichier Excel
+ </a>
</p>
<hr />
<p class="descr">
En tant qu'administrateur, tu peux fixer la venue (accompagnée ou pas) d'un des membres du groupe.
</p>
<hr />
<p class="descr">
En tant qu'administrateur, tu peux fixer la venue (accompagnée ou pas) d'un des membres du groupe.
-Donne ici son mail, ainsi que le nombre de participants.
+Donne ici son
e
mail, ainsi que le nombre de participants.
</p>
<form action="{$platal->pl_self()}" method="post" id="inscription">
</p>
<form action="{$platal->pl_self()}" method="post" id="inscription">
+ {xsrf_token_field}
<p class="descr">
<input type="hidden" name="adm" value="nbs" />
<p class="descr">
<input type="hidden" name="adm" value="nbs" />
-
Mail
: <input name="mail" size="20" />
+
Email
: <input name="mail" size="20" />
{if $platal->argv[2]}
{if $platal->argv[2]}
- {$evt.titre}: <input name="nb[{$platal->argv[2]}]" size="1" value="1" />
+ {$evt.titre}
: <input name="nb[{$platal->argv[2]}]" size="1" value="1" />
{else}
{foreach from=$moments item=m}
{else}
{foreach from=$moments item=m}
- {$m.titre}: <input name="nb[{$m.item_id}]" size="1" value="1"/>
+ {$m.titre}
: <input name="nb[{$m.item_id}]" size="1" value="1"/>
{foreachelse}
{foreachelse}
- Nombre: <input name="nb[1]" size="1" value="1" />
+ Nombre
: <input name="nb[1]" size="1" value="1" />
{/foreach}
{/if}
<input type="submit" />
{/foreach}
{/if}
<input type="submit" />
@@
-265,14
+269,15
@@
entrer un montant négatif.
</p>
<p class="descr">
</p>
<p class="descr">
-Note que tu peux cliquer sur les noms des membres pour remplir automatiquement la case ci-dessous
+Note que tu peux cliquer sur les noms des membres pour remplir automatiquement la case ci-dessous
.
</p>
<form action="{$platal->pl_self()}" method="post" id="montant">
</p>
<form action="{$platal->pl_self()}" method="post" id="montant">
+ {xsrf_token_field}
<p class="descr">
<input type="hidden" name="adm" value="prix" />
<p class="descr">
<input type="hidden" name="adm" value="prix" />
-
Mail
: <input name="mail" size="20" />
- montant: <input name="montant" size="3" value="0,00" /> €
+
Email
: <input name="mail" size="20" />
+ montant
: <input name="montant" size="3" value="0,00" /> €
<input type="submit" />
</p>
</form>
<input type="submit" />
</p>
</form>