forked from FrederikBaerentsen/BrickTracker
Add Rebrickable badge to wishlist page
This commit is contained in:
parent
3712356caa
commit
f53c73268f
@ -1,4 +1,5 @@
|
|||||||
{% import 'macro/table.html' as table %}
|
{% import 'macro/table.html' as table %}
|
||||||
|
{% import 'macro/badge.html' as badge %}
|
||||||
|
|
||||||
<div class="table-responsive-sm">
|
<div class="table-responsive-sm">
|
||||||
<table class="table table-striped align-middle" id="wish">
|
<table class="table table-striped align-middle" id="wish">
|
||||||
@ -21,7 +22,8 @@
|
|||||||
{% set retirement_date = retired.get(item.fields.set_num) %}
|
{% set retirement_date = retired.get(item.fields.set_num) %}
|
||||||
<tr>
|
<tr>
|
||||||
{{ table.image(item.url_for_image(), caption=item.fields.name, alt=item.fields.set_num) }}
|
{{ 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.fields.name }}</td>
|
||||||
<td>{{ item.theme_name }}</td>
|
<td>{{ item.theme_name }}</td>
|
||||||
<td>{{ item.fields.year }}</td>
|
<td>{{ item.fields.year }}</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user