{% capture append = "oxidBlock_content" %} {% set wishuser = oView.getWishUser() %} {% if not oView.getWishListUsers() and oView.getWishListSearchParam() %} {% set _statusMessage = "MESSAGE_SORRY_NO_GIFT_REGISTRY"|translate %} {% include "message/error.html.twig" with {statusMessage: _statusMessage} %} {% endif %}

{% if wishuser %}{{ translate({ ident: "GIFT_REGISTRY_OF" }) }} {{ wishuser.oxuser__oxfname.value }} {{ wishuser.oxuser__oxlname.value }}{% else %}{{ translate({ ident: "PUBLIC_GIFT_REGISTRIES" }) }}{% endif %}

{% include "form/wishlist_search.html.twig" with {searchClass: "wishlist"} %} {% if oView.getWishList() %} {% set wishuser = oView.getWishUser() %}

{{ translate({ ident: "WISHLIST_PRODUCTS", args: wishuser.oxuser__oxfname.value ~ ' ' ~ wishuser.oxuser__oxlname.value }) }}

{% endif %}
{% if oView.getWishList() %} {% include "widget/product/list.html.twig" with {type: "line", title: "", listId: "wishlistProductList", products: oView.getWishList(), owishid: wishuser.oxuser__oxid.value} %} {% else %} {{ translate({ ident: "GIFT_REGISTRY_EMPTY" }) }} {% endif %}
{{ insert_tracker() }} {% endcapture %} {% include "layout/page.html.twig" with {sidebar: "Left"} %}