{% extends "authorized.html" %} {% block title %}User Wishlist{% endblock %} {% block center %} {% if my_wishlist %}

My Wishlist

{% else %}

{{ person.given_name }} Wishlist

{% endif %}

List

{% if my_wishlist %} Add {% endif %}
{% for person_wishlist_item in person_wishlist_items %} {% if my_wishlist %} {% else %} {% endif %} {% if person_wishlist_item.item_url.len() > 0 %} {% else %} {% endif %} {% match person_wishlist_item.received_at %} {% when None %} {% when Some with (received_at) %} {% endmatch %} {% if my_wishlist %} {% match person_wishlist_item.received_at %} {% when None %} {% when Some with (received_at) %} {% endmatch %} {% else %} {% match person_wishlist_item.purchased_by %} {% when Some with (purchased_by) %} {% if purchased_by.clone() == user.id %} {% else %} {% endif %} {% when None %} {% endmatch %} {% endif %} {% endfor %}
Item Link State Action
{{ person_wishlist_item.item }}{{ person_wishlist_item.item }}URLNot yet!Got it!ReceivedDeleteReturnPurchasedBought
{% endblock center %}