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 %}