Merge fixes due to AX modifications and new M/D data (more updates coming).
[platal.git] / templates / stats / nb_by_promo.tpl
... / ...
CommitLineData
1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2011 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<h1>Inscrits par promo</h1>
24
25<p>
26Voici le nombre d'inscrits par promotion&nbsp;:
27</p>
28
29<table class="bicol" cellpadding="3" cellspacing="0" summary="Statistiques">
30 {foreach from=$nbs key=cycle item=nb_cycle}
31 <tr>
32 <th>{$cycle}</th>
33 <th>0</th><th>1</th><th>2</th><th>3</th><th>4</th>
34 <th>5</th><th>6</th><th>7</th><th>8</th><th>9</th>
35 </tr>
36 {foreach item=nb10 key=lustre from=$nb_cycle}
37 <tr>
38 <th>{$lustre}</th>
39 {foreach item=nb from=$nb10}
40 <td class="center">
41 {if $nb && $nb.promo eq $promo}
42 <span class='erreur'>{$nb.nb}</span>
43 {elseif $nb}
44 <a href="stats/promos/{$nb.promo}">{$nb.nb}</a>
45 {else}
46 -
47 {/if}
48 </td>
49 {/foreach}
50 </tr>
51 {/foreach}
52 {/foreach}
53</table>
54
55{if $promo}
56
57<p class='center'>
58[<a href="stats/promos">répartition des inscrits par promo</a>]
59</p>
60
61<h1>Courbe d'inscription de la promo {$promo}</h1>
62
63<div class="center">
64 <img src="stats/graph/{$promo}" alt=" [ INSCRITS ] " />
65</div>
66
67{else}
68
69<h1>Inscrits par promo en (%)</h1>
70
71<div class="center">
72 <img src="stats/graph/{#Profile::DEGREE_X#}" alt="[graphe du nombre d'inscrits par promotion pour les X]" />
73</div>
74
75<div class="center">
76 <img src="stats/graph/{#Profile::DEGREE_M#}" alt="[graphe du nombre d'inscrits par promotion pour les masters]" />
77</div>
78
79<div class="center">
80 <img src="stats/graph/{#Profile::DEGREE_D#}" alt="[graphe du nombre d'inscrits par promotion pour les docteurs]" />
81</div>
82
83{/if}
84
85
86{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}