projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/master' into fusionax
[platal.git]
/
templates
/
xnetevents
/
admin.tpl
diff --git
a/templates/xnetevents/admin.tpl
b/templates/xnetevents/admin.tpl
index
a5422e6
..
8b10415
100644
(file)
--- a/
templates/xnetevents/admin.tpl
+++ b/
templates/xnetevents/admin.tpl
@@
-26,7
+26,7
@@
L'événement {$evt.intitule}
{if $evt.titre} - {$evt.titre}
{/if}
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}
({$evt.nb} personne{if $evt.nb > 1}s ont réalisé leur{else} a réalisé son{/if} inscription).
comptera {$evt.nb_tot} personne{if $evt.nb_tot > 1}s{/if}.
{else}
({$evt.nb} personne{if $evt.nb > 1}s ont réalisé leur{else} a réalisé son{/if} inscription).
@@
-35,15
+35,16
@@
comptera {$evt.nb_tot} personne{if $evt.nb_tot > 1}s{/if}.
{if $evt.participant_list && $is_admin}
<p class="center">
{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,21
+226,24
@@
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" />
-
M
ail : <input name="mail" size="20" />
+
Em
ail : <input name="mail" size="20" />
{if $platal->argv[2]}
{$evt.titre} : <input name="nb[{$platal->argv[2]}]" size="1" value="1" />
{if $platal->argv[2]}
{$evt.titre} : <input name="nb[{$platal->argv[2]}]" size="1" value="1" />
@@
-269,9
+273,10
@@
Note que tu peux cliquer sur les noms des membres pour remplir automatiquement l
</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" />
-
M
ail : <input name="mail" size="20" />
+
Em
ail : <input name="mail" size="20" />
montant : <input name="montant" size="3" value="0,00" /> €
<input type="submit" />
</p>
montant : <input name="montant" size="3" value="0,00" /> €
<input type="submit" />
</p>