From 8ccb213e73481f01c2ffc921b167fce017e43df3 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 22 Mar 2022 12:05:49 -0700 Subject: [PATCH] add template for now --- docs/vehicles_template.vue | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/vehicles_template.vue b/docs/vehicles_template.vue index f7e23b1808..e231911ce1 100644 --- a/docs/vehicles_template.vue +++ b/docs/vehicles_template.vue @@ -101,8 +101,7 @@
- {% set star_tag = '' %} - {% set footnote_tag = '{}' %} + {% set footnote_tag = '{}' %} {% for tier, car_rows in tiers %}
@@ -126,11 +125,9 @@
{{row[0].text}}
{{row[1].text}}
{{row[2].text}}
-
{{row[3].star.html_icon}}
{{footnote_tag.format(row[3].footnote) if row[3].footnote else ''}} -
{{row[4].star.html_icon}}
-
{{row[5].star.html_icon}}
-
{{row[6].star.html_icon}}
-
{{row[7].star.html_icon}}
+ {% for star_col in row if star_col.star is not none %} +
{{star_col.star.html_icon}}{{footnote_tag.format(star_col.footnote) if star_col.footnote else ''}}
+ {% endfor %}
{% endfor %}