{"en_US": "<t name=\"Topbar\" t-name=\"website_event.index_topbar\">\n    <div class=\"container\">\n        <section class=\"o_wevent_index_topbar_filters d-flex d-print-none align-items-center justify-content-lg-end flex-wrap gap-2 mt-4 mb-3\">\n            <h2 class=\"me-auto mb-0 h4\">Events</h2>\n            <t t-foreach=\"categories\" t-as=\"category\">\n                <div t-if=\"category.is_published and category.tag_ids and any(tag.color for tag in category.tag_ids)\" class=\"dropdown d-none d-lg-block\">\n                    <t t-set=\"searched_category_tags\" t-value=\"search_tags.filtered(lambda tag: tag.category_id == category)\"/>\n                    <button type=\"button\" class=\"btn btn-light dropdown-toggle\" data-bs-toggle=\"dropdown\" title=\"Filter by category\" aria-label=\"Filter by category\" aria-expanded=\"false\">\n                        <t t-out=\"category.name\"/>\n                        <span t-if=\"len(searched_category_tags)\" t-out=\"len(searched_category_tags)\" class=\"badge bg-primary ms-1\"/>\n                    </button>\n                    <div class=\"dropdown-menu\">\n                        <span t-att-data-post=\"keep_event_url(tags=slugify_tags((search_tags - searched_category_tags).ids), prevent_redirect=True)\" t-attf-class=\"post_link cursor-pointer dropdown-item d-flex align-items-center justify-content-between #{'active' if not searched_category_tags else ''}\">\n                            All\n                        </span>\n                        <t t-foreach=\"category.tag_ids\" t-as=\"tag\">\n                            <span t-if=\"tag.color\" t-att-data-post=\"keep_event_url(tags=slugify_tags(search_tags.ids, toggle_tag_id=tag.id), prevent_redirect=True)\" t-attf-class=\"post_link cursor-pointer dropdown-item d-flex align-items-center justify-content-between #{'active' if tag in search_tags else ''}\">\n                                <t t-out=\"tag.name\"/>\n                            </span>\n                        </t>\n                    </div>\n                </div>\n            </t>\n            <div class=\"o_wevent_search d-flex w-100 w-lg-25\">\n                <t t-call=\"website.website_search_box_input\">\n                    <t t-set=\"_form_classes\" t-valuef=\"flex-grow-1\"/>\n                    <t t-set=\"_classes\" t-valuef=\"o_wevent_event_searchbar_form\"/>\n                    <t t-set=\"search_type\">events</t>\n                    <t t-set=\"action\" t-value=\"'/event/'\"/>\n                    <t t-set=\"display_description\" t-valuef=\"true\"/>\n                    <t t-set=\"display_detail\" t-valuef=\"false\"/>\n                    <t t-set=\"search\" t-value=\"search or searches and searches['search']\"/>\n                    <t t-set=\"placeholder\">Search an event..</t>\n                    <t t-foreach=\"searches\" t-as=\"item\">\n                        <input t-if=\"item != 'search' and item_value != 'all'\" type=\"hidden\" t-att-name=\"item\" t-att-value=\"item_value\"/>\n                    </t>\n                </t>\n                <button class=\"o_not_editable btn btn-light position-relative ms-2 d-lg-none\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#o_wevent_index_offcanvas\">\n                    <i class=\"fa fa-sliders\"/>\n                </button>\n            </div>\n            <t t-if=\"search_tags\" t-call=\"website_event.searched_tags\"/>\n        </section>\n        <!-- Off canvas filters on mobile-->\n        <div id=\"o_wevent_index_offcanvas\" class=\"o_website_offcanvas offcanvas offcanvas-end d-lg-none p-0 overflow-visible\">\n            <div class=\"offcanvas-header\">\n                <h5 class=\"offcanvas-title\">Filters</h5>\n                <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"/>\n            </div>\n            <div class=\"offcanvas-body p-0\">\n                <div class=\"accordion accordion-flush\">\n                    <div class=\"accordion-item\" t-foreach=\"categories\" t-as=\"category\">\n                        <h2 class=\"accordion-header\">\n                            <button class=\"accordion-button collapsed\" type=\"button\" data-bs-toggle=\"collapse\" t-attf-aria-controls=\"o_wevent_offcanvas_cat_#{category.id}\" t-att-data-bs-target=\"'.o_wevent_offcanvas_cat_%s' % category.id\" aria-expanded=\"false\">\n                                <t t-out=\"category.name\"/>\n                            </button>\n                        </h2>\n                        <div t-attf-id=\"o_wevent_offcanvas_cat_#{category.id}\" t-attf-class=\"o_wevent_offcanvas_cat_#{category.id} accordion-collapse collapse\">\n                            <div class=\"accordion-body pt-0\">\n                                <ul class=\"list-group list-group-flush\">\n                                    <t t-if=\"category.is_published and category.tag_ids and any(tag.color for tag in category.tag_ids)\" t-foreach=\"category.tag_ids\" t-as=\"tag\">\n                                        <li t-if=\"tag.color\" class=\"list-group-item border-0 px-0\">\n                                            <span t-att-data-post=\"keep_event_url(tags=slugify_tags(search_tags.ids, toggle_tag_id=tag.id), prevent_redirect=True)\" class=\"post_link text-reset cursor-pointer\" t-att-title=\"tag.name\">\n                                                <div class=\"form-check\">\n                                                    <input class=\"form-check-input pe-none\" type=\"checkbox\" t-attf-name=\"#{tag.color}\" t-att-checked=\"tag in search_tags\"/>\n                                                    <label class=\"form-check-label\" t-attf-for=\"#{tag.color}\" t-out=\"tag.name\"/>\n                                                </div>\n                                            </span>\n                                        </li>\n                                    </t>\n                                </ul>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</t>", "fr_FR": "<t name=\"Topbar\" t-name=\"website_event.index_topbar\">\n    <div class=\"container\">\n        <section class=\"o_wevent_index_topbar_filters d-flex d-print-none align-items-center justify-content-lg-end flex-wrap gap-2 mt-4 mb-3\">\n            <h2 class=\"me-auto mb-0 h4\">Événements</h2>\n            <t t-foreach=\"categories\" t-as=\"category\">\n                <div t-if=\"category.is_published and category.tag_ids and any(tag.color for tag in category.tag_ids)\" class=\"dropdown d-none d-lg-block\">\n                    <t t-set=\"searched_category_tags\" t-value=\"search_tags.filtered(lambda tag: tag.category_id == category)\"/>\n                    <button type=\"button\" class=\"btn btn-light dropdown-toggle\" data-bs-toggle=\"dropdown\" title=\"Filtrer par catégorie\" aria-label=\"Filtrer par catégorie\" aria-expanded=\"false\">\n                        <t t-out=\"category.name\"/>\n                        <span t-if=\"len(searched_category_tags)\" t-out=\"len(searched_category_tags)\" class=\"badge bg-primary ms-1\"/>\n                    </button>\n                    <div class=\"dropdown-menu\">\n                        <span t-att-data-post=\"keep_event_url(tags=slugify_tags((search_tags - searched_category_tags).ids), prevent_redirect=True)\" t-attf-class=\"post_link cursor-pointer dropdown-item d-flex align-items-center justify-content-between #{'active' if not searched_category_tags else ''}\">\n                            Tous\n                        </span>\n                        <t t-foreach=\"category.tag_ids\" t-as=\"tag\">\n                            <span t-if=\"tag.color\" t-att-data-post=\"keep_event_url(tags=slugify_tags(search_tags.ids, toggle_tag_id=tag.id), prevent_redirect=True)\" t-attf-class=\"post_link cursor-pointer dropdown-item d-flex align-items-center justify-content-between #{'active' if tag in search_tags else ''}\">\n                                <t t-out=\"tag.name\"/>\n                            </span>\n                        </t>\n                    </div>\n                </div>\n            </t>\n            <div class=\"o_wevent_search d-flex w-100 w-lg-25\">\n                <t t-call=\"website.website_search_box_input\">\n                    <t t-set=\"_form_classes\" t-valuef=\"flex-grow-1\"/>\n                    <t t-set=\"_classes\" t-valuef=\"o_wevent_event_searchbar_form\"/>\n                    <t t-set=\"search_type\">événements</t>\n                    <t t-set=\"action\" t-value=\"'/event/'\"/>\n                    <t t-set=\"display_description\" t-valuef=\"true\"/>\n                    <t t-set=\"display_detail\" t-valuef=\"false\"/>\n                    <t t-set=\"search\" t-value=\"search or searches and searches['search']\"/>\n                    <t t-set=\"placeholder\">Rechercher un événement...</t>\n                    <t t-foreach=\"searches\" t-as=\"item\">\n                        <input t-if=\"item != 'search' and item_value != 'all'\" type=\"hidden\" t-att-name=\"item\" t-att-value=\"item_value\"/>\n                    </t>\n                </t>\n                <button class=\"o_not_editable btn btn-light position-relative ms-2 d-lg-none\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#o_wevent_index_offcanvas\">\n                    <i class=\"fa fa-sliders\"/>\n                </button>\n            </div>\n            <t t-if=\"search_tags\" t-call=\"website_event.searched_tags\"/>\n        </section>\n        <!-- Off canvas filters on mobile-->\n        <div id=\"o_wevent_index_offcanvas\" class=\"o_website_offcanvas offcanvas offcanvas-end d-lg-none p-0 overflow-visible\">\n            <div class=\"offcanvas-header\">\n                <h5 class=\"offcanvas-title\">Filtres</h5>\n                <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Fermer\"/>\n            </div>\n            <div class=\"offcanvas-body p-0\">\n                <div class=\"accordion accordion-flush\">\n                    <div class=\"accordion-item\" t-foreach=\"categories\" t-as=\"category\">\n                        <h2 class=\"accordion-header\">\n                            <button class=\"accordion-button collapsed\" type=\"button\" data-bs-toggle=\"collapse\" t-attf-aria-controls=\"o_wevent_offcanvas_cat_#{category.id}\" t-att-data-bs-target=\"'.o_wevent_offcanvas_cat_%s' % category.id\" aria-expanded=\"false\">\n                                <t t-out=\"category.name\"/>\n                            </button>\n                        </h2>\n                        <div t-attf-id=\"o_wevent_offcanvas_cat_#{category.id}\" t-attf-class=\"o_wevent_offcanvas_cat_#{category.id} accordion-collapse collapse\">\n                            <div class=\"accordion-body pt-0\">\n                                <ul class=\"list-group list-group-flush\">\n                                    <t t-if=\"category.is_published and category.tag_ids and any(tag.color for tag in category.tag_ids)\" t-foreach=\"category.tag_ids\" t-as=\"tag\">\n                                        <li t-if=\"tag.color\" class=\"list-group-item border-0 px-0\">\n                                            <span t-att-data-post=\"keep_event_url(tags=slugify_tags(search_tags.ids, toggle_tag_id=tag.id), prevent_redirect=True)\" class=\"post_link text-reset cursor-pointer\" t-att-title=\"tag.name\">\n                                                <div class=\"form-check\">\n                                                    <input class=\"form-check-input pe-none\" type=\"checkbox\" t-attf-name=\"#{tag.color}\" t-att-checked=\"tag in search_tags\"/>\n                                                    <label class=\"form-check-label\" t-attf-for=\"#{tag.color}\" t-out=\"tag.name\"/>\n                                                </div>\n                                            </span>\n                                        </li>\n                                    </t>\n                                </ul>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</t>"}