1
|
Index: stats.tpl
|
2
|
===================================================================
|
3
|
--- stats.tpl (révision 1307)
|
4
|
+++ stats.tpl (copie de travail)
|
5
|
@@ -9,7 +9,7 @@
|
6
|
<thead>
|
7
|
<tr>
|
8
|
<th></th>
|
9
|
- <th colspan='3'>Personnes</th>
|
10
|
+ <th colspan='4'>Personnes</th>
|
11
|
<th colspan='{$entity_col_count+1}'>Entités</th>
|
12
|
<th>Total</th>
|
13
|
</tr>
|
14
|
@@ -18,6 +18,7 @@
|
15
|
<th>Fem.</th>
|
16
|
<th>Hom.</th>
|
17
|
<th>Cumul</th>
|
18
|
+ <th>Sexe-ratio</th>
|
19
|
{foreach from=$entity_col_title key=id item=et}
|
20
|
{strip}
|
21
|
<th>{$et.locale_shortname}</th>
|
22
|
@@ -33,6 +34,7 @@
|
23
|
<td class='value_cat'>{$actor_person_woman}</td>
|
24
|
<td class='value_cat'>{$actor_person_man}</td>
|
25
|
<td class='value_typ'>{$actor_person}</td>
|
26
|
+ <td class='value_typ'>{if $actor_person > 0}{$actor_person_woman*100.0/$actor_person|string_format:'%.1f'}{/if}</td>
|
27
|
{foreach from=$entity_col_values key=id item=e}
|
28
|
{strip}
|
29
|
<td class='value_cat'>{$e.total}</td>
|
30
|
@@ -46,6 +48,7 @@
|
31
|
<td class='value_cat'>{$actor_person_uptodate_woman}</td>
|
32
|
<td class='value_cat'>{$actor_person_uptodate_man}</td>
|
33
|
<td class='value_typ'>{$actor_person_uptodate}</td>
|
34
|
+ <td class='value_typ'>{if $actor_person_uptodate > 0}{$actor_person_uptodate_woman*100.0/$actor_person_uptodate|string_format:'%.1f'}{/if}</td>
|
35
|
{foreach from=$entity_col_values key=id item=e}
|
36
|
{strip}
|
37
|
<td class='value_cat'>{$e.uptodate}</td>
|
38
|
@@ -61,6 +64,7 @@
|
39
|
<td class='value_cat'>{$actor_person_uptodate_woman_perc|string_format:'%.1f'} %</td>
|
40
|
<td class='value_cat'>{$actor_person_uptodate_man_perc|string_format:'%.1f'} %</td>
|
41
|
<td class='value_typ'>{$actor_person_uptodate_perc|string_format:'%.1f'} %</td>
|
42
|
+ <td class='value_typ'> </td>
|
43
|
{foreach from=$entity_col_values key=id item=e}
|
44
|
{strip}
|
45
|
<td class='value_cat'>{$e.percent|string_format:'%.1f'} %</td>
|