Merge branch 'xorg/maint'
[platal.git] / templates / stats / nb_by_promo.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
c441aabe 3{* Copyright (C) 2003-2014 Polytechnique.org *}
0337d704 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
bf2692e3 23<h1>Inscrits par promo</h1>
0337d704 24
25<p>
9fd2ca04 26Voici le nombre d'inscrits par promotion&nbsp;:
0337d704 27</p>
28
29<table class="bicol" cellpadding="3" cellspacing="0" summary="Statistiques">
750727e8 30 {foreach from=$nbs key=cycle item=nb_cycle}
0337d704 31 <tr>
750727e8 32 <th>{$cycle}</th>
0337d704 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>
750727e8 36 {foreach item=nb10 key=lustre from=$nb_cycle}
0337d704 37 <tr>
9fd2ca04 38 <th>{$lustre}</th>
0337d704 39 {foreach item=nb from=$nb10}
40 <td class="center">
bf2692e3 41 {if $nb && $nb.promo eq $promo}
0337d704 42 <span class='erreur'>{$nb.nb}</span>
43 {elseif $nb}
7b2413f6 44 <a href="stats/promos/{$nb.promo}">{$nb.nb}</a>
0337d704 45 {else}
46 -
47 {/if}
48 </td>
49 {/foreach}
50 </tr>
51 {/foreach}
750727e8 52 {/foreach}
0337d704 53</table>
54
bf2692e3 55{if $promo}
0337d704 56
57<p class='center'>
a7de4ef7 58[<a href="stats/promos">répartition des inscrits par promo</a>]
0337d704 59</p>
60
bf2692e3 61<h1>Courbe d'inscription de la promo {$promo}</h1>
0337d704 62
63<div class="center">
7b2413f6 64 <img src="stats/graph/{$promo}" alt=" [ INSCRITS ] " />
0337d704 65</div>
66
67{else}
68
69<h1>Inscrits par promo en (%)</h1>
70
71<div class="center">
9fd2ca04
SJ
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]" />
0337d704 81</div>
82
83{/if}
84
85
448c8cdc 86{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}