{# Listing header card for the chat details panel: thumbnail (with category badge), title, price and a View Listing link. Expects `listing` in context. #} {% from "components/premium_badge.html" import premium_badge %} {% set cover = listing.images[0] if listing.images else None %}
{% if cover %} {{ listing.title }} {% else %}
{% endif %} {{ listing.category.name }}

{{ listing.title }}

{# Seller name links to their public profile (trust-system navigation). #} {{ listing.seller.profile.full_name if listing.seller.profile and listing.seller.profile.full_name else listing.seller.email.split('@')[0] }} {% if show_premium_badge(listing.seller) %}
{{ premium_badge(listing.seller, 'Premium Seller', 'sm') }}
{% endif %}
₹{{ "{:,.2f}".format(listing.price) }} View Listing