Merge pull request 'Add Rebrickable badge to wishlist page' (#46) from matthew/BrickTracker:add-rebrickable-link-to-wishlist into master

Reviewed-on: #46
This commit is contained in:
FrederikBaerentsen 2025-01-22 17:43:12 +01:00
commit 631df49cd3

View File

@ -1,4 +1,5 @@
{% import 'macro/table.html' as table %}
{% import 'macro/badge.html' as badge %}
<div class="table-responsive-sm">
<table class="table table-striped align-middle" id="wish">
@ -21,7 +22,8 @@
{% set retirement_date = retired.get(item.fields.set_num) %}
<tr>
{{ table.image(item.url_for_image(), caption=item.fields.name, alt=item.fields.set_num) }}
<td>{{ item.fields.set_num }}</td>
<td>{{ item.fields.set_num }}<br />
{{ badge.rebrickable(item) }}</td>
<td>{{ item.fields.name }}</td>
<td>{{ item.theme_name }}</td>
<td>{{ item.fields.year }}</td>