PluginProbe
Booking Calendar / 11.7
Booking Calendar v11.7
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
booking / includes / page-catalog-booking-resources / templates / resource-parent-row-wptpl.php

resource-parent-row-wptpl.php in Booking Calendar 11.7, at includes/page-catalog-booking-resources/templates/resource-parent-row-wptpl.php

29 lines 968 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Complete parent Booking Resource row template.
4 *
5 * @package Booking Calendar
6 * @since 11.6.0
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12 ?>
13 <script type="text/html" id="tmpl-wpbc-booking-resource-parent-row">
14 <tr
15 class="wpbc_ui_listing__row wpbc_booking_resources__item wpbc_catalog_booking_resources__row wpbc_booking_resources__item--parent wpbc_catalog_booking_resources__row--group-root<# if ( data.is_expanded ) { #> is-expanded<# } #>"
16 data-wpbc-booking-resource-id="{{ data.id }}"
17 data-wpbc-ui-catalog-node-id="{{ data.hierarchy.node_id }}"
18 data-wpbc-ui-catalog-hierarchy-container
19 <# if ( data.hierarchy.expandable ) { #>data-wpbc-ui-catalog-hierarchy-expandable<# } #>
20 data-wpbc-ui-catalog-selectable-row
21 data-wpbc-listing-item-id="{{ data.id }}"
22 data-wpbc-booking-resource-type="parent"
23 aria-selected="false"
24 tabindex="0"
25 >
26 <# print( wp.template( 'wpbc-booking-resource-row-cells' )( data ) ); #>
27 </tr>
28 </script>
29