X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fedit.tpl;h=c43b09be231ea2768f13c9125573868b2090da10;hb=e9e97a07a899d7583b0391a16d86fa427104ebcf;hp=c6a3a1a19c795436fa6da0b50e8f9f6c206c0fc3;hpb=d89a495539357b3ad30f7b891bd23d1805355a52;p=platal.git diff --git a/templates/newsletter/edit.tpl b/templates/newsletter/edit.tpl index c6a3a1a..c43b09b 100644 --- a/templates/newsletter/edit.tpl +++ b/templates/newsletter/edit.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2011 Polytechnique.org *} +{* Copyright (C) 2003-2013 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -130,6 +130,14 @@ + + + Adresse de réponse (optionnelle) + + + + + {if $nl->automaticMailingEnabled() && ($issue->isEditable() || $issue->isPending())} @@ -144,27 +152,54 @@ {/if} - {if $issue->isEditable()} - {if $nl->criteria->hasFlag('promo')} + {if $nl->criteria->hasFlag('promo')} Promotions - {include file="include/select_promo.tpl" promo_data=$smarty.request egal1="egal1" egal2="egal2" promo1="promo1" promo2="promo2" edu_type="edu_type"} + {if $issue->isEditable()} + {include file="include/select_promo.tpl" promo_data=$smarty.request egal1="egal1" egal2="egal2" promo1="promo1" promo2="promo2" edu_type="edu_type"} + {else} + {if t($smarty.request.promo1)} + {if $smarty.request.egal1 eq "="} + {$smarty.request.promo1} + {elseif t($smarty.request.promo2)} + {if $smarty.request.egal1 eq ">="} + {$smarty.request.promo1} à {$smarty.request.promo2} + {else} + {$smarty.request.promo2} à {$smarty.request.promo1} + {/if} + {else} + {if $smarty.request.egal1 eq ">="} + après {$smarty.request.promo1} + {else} + avant {$smarty.request.promo1} + {/if} + {/if} + {else} + Toutes les promotions + {/if} + {if $smarty.request.edu_type eq #UserFilter::GRADE_ING#}(X){/if} + {if $smarty.request.edu_type eq #UserFilter::GRADE_MST#}(Master){/if} + {if $smarty.request.edu_type eq #UserFilter::GRADE_PHD#}(Docteur){/if} + {/if} - {/if} - {if $nl->criteria->hasFlag('axid')} + {/if} + {if $nl->criteria->hasFlag('axid')} Matricule AX - -
- Entrer une liste de matricules AX (un par ligne)
- - Inverser la sélection (sélectionner dans l'intervalle de promotions, à l'exception des matricules indiqués) + {if $issue->isEditable()} + +
+ Entrer une liste de matricules AX (un par ligne)
+ + Inverser la sélection (sélectionner dans l'intervalle de promotions, à l'exception des matricules indiqués) + {else} + {$smarty.request.axid} + {/if} - {/if} {/if}