<?xml version="1.0"?>
<t name="Registration Ticket Access" t-name="website_event.registration_ticket_access">
    <div class="row mb-2 o_wevent_registration_ticket_access">
        <div class="col-12 mb-2 d-flex flex-column flex-md-row align-items-stretch align-items-md-baseline justify-content-md-start">
            <a t-if="event.address_id" class="btn btn-primary" title="Download All Tickets" target="_blank" t-attf-href="/event/{{ event.id }}/my_tickets?registration_ids={{ attendees.ids }}&amp;tickets_hash={{ event._get_tickets_access_hash(attendees.ids) }}">
                Download Tickets
            </a>
            <a t-else="" class="btn btn-primary" title="Join online" target="_blank" t-att-href="event.event_url or event.website_url">
                Join online <i class="ms-1 fa fa-globe"/>
            </a>
        </div>
    </div>
</t>

