Use table.rebrickable rather than badge.rebrickable in the wishes table to be more consistent with the other tables

This commit is contained in:
Gregoo 2025-01-24 12:04:50 +01:00
parent d22ca2c7cb
commit c518c405c2

View File

@ -22,7 +22,7 @@
{% set retirement_date = retired.get(item.fields.set) %} {% set retirement_date = retired.get(item.fields.set) %}
<tr> <tr>
{{ table.image(item.url_for_image(), caption=item.fields.name, alt=item.fields.set) }} {{ table.image(item.url_for_image(), caption=item.fields.name, alt=item.fields.set) }}
<td>{{ item.fields.set }}<br>{{ badge.rebrickable(item) }}</td> <td>{{ item.fields.set }} {{ table.rebrickable(item) }}</td>
<td>{{ item.fields.name }}</td> <td>{{ item.fields.name }}</td>
<td>{{ item.theme.name }}</td> <td>{{ item.theme.name }}</td>
<td>{{ item.fields.year }}</td> <td>{{ item.fields.year }}</td>