789357ebeef2adba94a682404af581cf687d26a2
[platal.git] / templates / fusionax / promo_issues.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2013 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23 <h2>Fusion des annuaires X.org - AX&nbsp;: promotions</h2>
24
25 {if $total > 0}
26 <p>
27   Il reste {$total} problème{if $total > 1}s{/if} du{if $total > 1}s{/if} à la
28   fusion des annuaires lié{if $total > 1}s{/if} aux promotions à corriger sur les profils&nbsp;:
29 </p>
30 <form action="{$platal->ns}fusionax/issues/promo/edit" method="post"> 
31   {xsrf_token_field}
32   <table class="bicol">
33     <tr>
34       <th>Nom</th>
35       <th>Promo Xorg</th>
36       <th>Promo entrée Xorg</th>
37       <th>Promo sortie Xorg</th>
38       <th>Promo AX</th>
39       <th>Choix promo affichée</th>
40       <th>Choix promo entrée</th>
41       <th>Choix promo sortie</th>
42     </tr>
43     {foreach from=$issues item=profile}
44     <tr>
45       <td>
46         <a href="profile/edit/{$profile.hrpid}">{$profile.directory_name}</a>
47       </td>
48       <td>{$profile.promo}</td>
49       <td>{$profile.entry_year}</td>
50       <td>{$profile.grad_year}</td>
51       <td>{$profile.entry_year_ax}</td>
52       <td><input type="text" name="display_{$profile.pid}" size="4" maxlength="4" /></td>
53       <td><input type="text" name="entry_{$profile.pid}" size="4" maxlength="4" /></td>
54       <td><input type="text" name="grad_{$profile.pid}" size="4" maxlength="4" /></td>
55     </tr>
56     {/foreach}
57   </table>
58   <div class="center"><input type="submit" value="Valider les corrections" /></div>
59 </form>
60 {else}
61 <p>Il ne reste plus d'erreur liée à la fusion des annuaires concernant les promotions&nbsp;!</p>
62 {/if}
63
64 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}