Adds registration evolution on 10 year period.
authorStéphane Jacob <sj@m4x.org>
Fri, 22 Apr 2011 08:09:47 +0000 (10:09 +0200)
committerStéphane Jacob <sj@m4x.org>
Fri, 22 Apr 2011 08:09:47 +0000 (10:09 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/stats/evolution_inscrits.tpl

index 9c49b72..cf269bd 100644 (file)
 <h1>Évolution du nombre d'inscrits au site polytechnique.org</h1>
 
 <div class="center">
+{if $days eq 3650}
+[<strong>depuis 10 ans</strong>]
+{else}
+[<a href="stats/evolution/3650">depuis 10 ans</a>]
+{/if}
 {if $days eq 1825}
 [<strong>depuis 5 ans</strong>]
 {else}