upskill-event-manager/templates/page-trainer-training-leads.php
bengizmo 705e6b563c feat: Implement Training Leads system and restructure navigation menu
- Add comprehensive Training Leads system for HVAC trainers
  * New /trainer/training-leads/ page with tabular contact submission display
  * HVAC_Training_Leads class with AJAX status updates and filtering
  * Empty state messaging and profile sharing CTA
  * Database integration with existing contact forms system

- Restructure trainer navigation menu for better UX
  * Rename "Customize" to "Profile" with logical groupings
  * Move "Logout" under "Profile" submenu
  * Change "Personal Profile" to "Trainer Profile"
  * Add "Training Leads" under Profile section
  * Update help menu to show only question mark icon positioned far right

- Enhance documentation system
  * Fix /trainer/documentation/ page styling and navigation integration
  * Update content to reflect current platform features
  * Add Training Leads documentation and navigation guide
  * Implement proper WordPress template structure

- Update user management
  * Change joe@upskillhvac.com display name to "Joe Medosch"
  * Assign Joe as author of measureQuick headquarters venue
  * Assign Joe as author of measureQuick and Upskill HVAC organizers

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 16:02:57 -03:00

58 lines
No EOL
1.4 KiB
PHP

<?php
/**
* Template Name: Trainer Training Leads
* Template for displaying trainer training leads page
*
* @package HVAC_Plugin
* @since 2.0.0
*/
// Define constant to identify we're in a page template
define('HVAC_IN_PAGE_TEMPLATE', true);
// Get header
get_header();
// Initialize breadcrumbs if available
if (class_exists('HVAC_Breadcrumbs')) {
$breadcrumbs = HVAC_Breadcrumbs::get_instance();
$breadcrumbs->set_custom_breadcrumb([
['title' => 'Trainer', 'url' => home_url('/trainer/')],
['title' => 'Profile', 'url' => home_url('/trainer/profile/')],
['title' => 'Training Leads', 'url' => '']
]);
}
?>
<div class="container hvac-trainer-page">
<?php
// Render navigation menu
if (class_exists('HVAC_Menu_System')) {
$menu_system = HVAC_Menu_System::instance();
$menu_system->render_trainer_menu();
}
?>
<?php
// Render breadcrumbs if available
if (isset($breadcrumbs)) {
echo $breadcrumbs->render();
}
?>
<main class="hvac-main-content">
<?php
// Render the training leads content using shortcode
if (class_exists('HVAC_Training_Leads')) {
echo do_shortcode('[hvac_trainer_training_leads]');
} else {
echo '<p>Training Leads functionality is not available. Please contact an administrator.</p>';
}
?>
</main>
</div>
<?php get_footer(); ?>