{% extends "_layout.html" %} {% comment %} AMIIBO FIGURE {% endcomment %} {% load i18n staticfiles thumbnail %} {% block page_title %}{% blocktrans with collection=selected_collection.name amiibo=amiibo.name %}{{ amiibo }} amiibo from {{ collection }} in {% endblocktrans %}{{ block.super }}{% endblock %} {% block meta_twitter_title %}{% blocktrans with collection=selected_collection.name amiibo=amiibo.name %}{{ amiibo }} amiibo from {{ collection }} in {% endblocktrans %}{{ block.super }}{% endblock %} {% block meta_og_title %}{% blocktrans with collection=selected_collection.name amiibo=amiibo.name %}{{ amiibo }} amiibo from {{ collection }} in {% endblocktrans %}{{ block.super }}{% endblock %} {% block meta_twitter_image %}{% thumbnail amiibo.statue 300x300 %}{% endblock %} {% block meta_og_image %}{% thumbnail amiibo.statue 300x300 %}{% endblock %} {% block meta_twitter_url %}{{ amiibo.get_absolute_url }}{% endblock %} {% block meta_og_url %}{{ amiibo.get_absolute_url }}{% endblock %} {% block js_views %}money,time{% endblock %} {% block breadcrumb %} {{ block.super }} {{ selected_collection.name }} {{ amiibo.name }} {% endblock %} {% block main_content %}

{{ amiibo.collection.name }}: {{ amiibo.name }}

{% if user.is_authenticated %} {% if amiibo.pk in USER_AMIIBO_OWNED %} {% trans 'Available for trade' %} {% trans 'I do not have it' %} {% else %}
{% if amiibo.pk in USER_AMIIBO_WISHLIST %} {% trans 'I do not want this' %} {% else %} {% trans 'I want this' %} {% endif %}
{% trans 'I have this' %} {% endif %}
{% else %}
{% endif %}
{% block amiibo_image %} {% endblock %}
{% if amiibo.shops_set.exists %}
{% for shop_item in amiibo.shops_set.all %} {% with price=shop_item.last_price.price stock=shop_item.last_price.stock currency=shop_item.last_price.currency %}
{% if stock and price %} {% trans 'Buy now for' %} {{ price }} {{ currency }} {% else %}
{% trans "No stock" %}
{% endif %} {{ shop_item.shop.name }}
{% if shop_item.last_price.date %} {% trans "Updated" %}
{% else %} {% trans "This item had never been in stock" %} {% endif %}
{% if shop_item.is_pack %} {% trans "This is a pack of various items" %} {% endif %}
{% endwith %}
{% endfor %}
{% endif %}
{% endblock %}