From 93cfdab8a11cb4e9f01ced093d4c2aa25f80b523 Mon Sep 17 00:00:00 2001 From: Matan Bareket Date: Tue, 7 Aug 2018 19:10:09 -0400 Subject: [PATCH] TEMPLATES: Automatically create the pct table data --- templates/pages/compatibility.tpl | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/templates/pages/compatibility.tpl b/templates/pages/compatibility.tpl index 565a3869..d63012ff 100644 --- a/templates/pages/compatibility.tpl +++ b/templates/pages/compatibility.tpl @@ -44,27 +44,9 @@ {$desc} {/foreach} {else} -  0 -  5 - 10 - 15 - 20 - 25 - 30 - 35 - 40 - 45 - 50 - 55 - 60 - 65 - 70 - 75 - 80 - 85 - 90 - 95 - 100 + {for $pct=0 to 20} + {$pct*5} + {/for} {/if}