PluginProbe ʕ •ᴥ•ʔ
LatePoint – Calendar Booking Plugin for Appointments and Events / 5.1.3
LatePoint – Calendar Booking Plugin for Appointments and Events v5.1.3
5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / lib / views / wizard / steps / _list_agents.php
latepoint / lib / views / wizard / steps Last commit date
_agents.php 1 year ago _complete.php 1 year ago _default_agent.php 1 year ago _form_agent.php 1 year ago _form_service.php 1 year ago _intro.php 1 year ago _list_agents.php 1 year ago _list_services.php 1 year ago _services.php 1 year ago _settings.php 1 year ago _work_periods.php 1 year ago
_list_agents.php
34 lines
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5 ?>
6 <div class="agent-boxes">
7 <?php
8 foreach($agents as $agent){ ?>
9 <div class="agent-box-w wizard-add-edit-item-trigger" data-id="<?php echo esc_attr($agent->id); ?>" data-route="<?php echo esc_attr(OsRouterHelper::build_route_name('wizard', 'add_or_edit_agent')); ?>">
10 <div class="agent-edit-icon"><i class="latepoint-icon latepoint-icon-edit-3"></i></div>
11 <div class="agent-avatar" style="background-image: url(<?php echo esc_url($agent->avatar_url); ?>)"></div>
12 <div class="agent-name"><?php echo esc_html($agent->full_name); ?></div>
13 <div class="agent-remove-trigger"
14 data-os-pass-this="yes"
15 data-os-prompt="<?php echo esc_attr__('Are you sure you want to remove this agent?', 'latepoint'); ?>"
16 data-os-params="<?php echo esc_attr(OsUtilHelper::build_os_params(['id' => $agent->id], 'destroy_agent_'.$agent->id)); ?>"
17 data-os-after-call="latepoint_remove_agent_box"
18 data-os-action="<?php echo esc_attr(OsRouterHelper::build_route_name('agents', 'destroy')); ?>">
19 <i class="latepoint-icon latepoint-icon-trash-2"></i>
20 </div>
21 </div>
22 <?php
23 } ?>
24 <div class="add-agent-box wizard-add-edit-item-trigger" data-route="<?php echo esc_attr(OsRouterHelper::build_route_name('wizard', 'add_or_edit_agent')); ?>">
25 <div class="add-agent-graphic-w">
26 <div class="add-agent-graphic">
27 <div class="add-agent-head"></div>
28 <div class="add-agent-body"></div>
29 </div>
30 <div class="add-agent-plus"><i class="latepoint-icon latepoint-icon-plus4"></i></div>
31 </div>
32 <div class="add-agent-label"><?php esc_html_e('Add Agent', 'latepoint'); ?></div>
33 </div>
34 </div>