diff --git a/onyx/tpl/bootstrap/summary.tpl b/onyx/tpl/bootstrap/summary.tpl
index d0350e49..6c2572de 100644
--- a/onyx/tpl/bootstrap/summary.tpl
+++ b/onyx/tpl/bootstrap/summary.tpl
@@ -14,6 +14,7 @@
{$theme->get_name()} |
{$sum=0}
+ {$cpt=0}
{$themeID=$theme->get_id()}
{$solved_exercices=$my_team->get_solved_exercices($themeID)}
{foreach from=$theme->get_exercices_ordered() item=exo}
@@ -30,8 +31,12 @@
{else}
{$pts} |
{/if}
+ {$cpt=$cpt+1}
{/foreach}
- {$sum} |
+ {for $i=$cpt to $nbExoMax-1}
+ |
+ {/for}
+ {$sum} |
{$total=$total+$sum}
{/foreach}
@@ -42,4 +47,4 @@
{$total} |
-
+
\ No newline at end of file