emails
1 week ago
form-fields
1 week ago
access-denied-browse-job_listings.php
4 years ago
access-denied-single-job_listing.php
3 years ago
account-signin.php
4 years ago
content-job_listing.php
3 months ago
content-no-jobs-found.php
7 years ago
content-single-job_listing-company.php
3 years ago
content-single-job_listing-meta.php
4 years ago
content-single-job_listing.php
1 week ago
content-summary-job_listing.php
3 months ago
content-widget-job_listing.php
3 months ago
content-widget-no-jobs-found.php
7 years ago
job-application-email.php
4 years ago
job-application-url.php
7 years ago
job-application.php
7 years ago
job-dashboard-login.php
7 years ago
job-dashboard-overlay.php
2 years ago
job-dashboard.php
2 years ago
job-filter-job-types.php
2 years ago
job-filters.php
2 years ago
job-listings-end.php
7 years ago
job-listings-start.php
7 years ago
job-pagination.php
7 years ago
job-preview.php
2 years ago
job-stats.php
3 months ago
job-submit.php
2 years ago
job-submitted.php
2 years ago
notice.php
2 years ago
pagination.php
6 years ago
job-dashboard-overlay.php
62 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Job dashboard overlay. |
| 4 | * |
| 5 | * @see https://wpjobmanager.com/document/template-overrides/ |
| 6 | * @author Automattic |
| 7 | * @package wp-job-manager |
| 8 | * @category Template |
| 9 | * @version 2.3.0 |
| 10 | * |
| 11 | * @var WP_Post $job Array of job post results. |
| 12 | */ |
| 13 | |
| 14 | use WP_Job_Manager\Job_Dashboard_Shortcode; |
| 15 | use WP_Job_Manager\UI\UI_Elements; |
| 16 | |
| 17 | if ( ! defined( 'ABSPATH' ) ) { |
| 18 | exit; // Exit if accessed directly. |
| 19 | } |
| 20 | |
| 21 | $submit_job_form_page_id = get_option( 'job_manager_submit_job_form_page_id' ); |
| 22 | ?> |
| 23 | |
| 24 | <div class="jm-job-overlay jm-dashboard"> |
| 25 | <div class="jm-job-overlay-header"> |
| 26 | <div class=""> |
| 27 | |
| 28 | <div class="job_title" role="heading"><?php echo esc_html( get_the_title( $job ) ?? $job->ID ); ?></div> |
| 29 | <?php Job_Dashboard_Shortcode::the_status( $job ); ?> |
| 30 | </div> |
| 31 | <div class="actions"> |
| 32 | <?php |
| 33 | echo UI_Elements::button( [ |
| 34 | 'url' => get_permalink( $job->ID ), |
| 35 | 'label' => __( 'View', 'wp-job-manager' ), |
| 36 | ], 'jm-ui-button--link' ); |
| 37 | ?> |
| 38 | </div> |
| 39 | </div> |
| 40 | <div class="jm-job-overlay-content"> |
| 41 | <div class="jm-job-overlay-details-box"> |
| 42 | |
| 43 | <div class="jm-ui-row" style="justify-content: space-between; align-items: flex-start"> |
| 44 | <div class="jm-ui-col"> |
| 45 | <?php Job_Dashboard_Shortcode::the_location( $job ); ?> |
| 46 | <div class="jm-ui-row"> |
| 47 | <?php the_company_logo( 'thumbnail', '', $job ); ?> |
| 48 | <?php echo esc_html( get_the_company_name( $job ) ); ?> |
| 49 | </div> |
| 50 | </div> |
| 51 | <div class="jm-ui-col"> |
| 52 | <?php do_action( 'job_manager_job_dashboard_column_date', $job ); ?> |
| 53 | </div> |
| 54 | </div> |
| 55 | |
| 56 | </div> |
| 57 | <?php do_action( 'job_manager_job_overlay_content', $job ); ?> |
| 58 | |
| 59 | </div> |
| 60 | <div class="jm-job-overlay-footer"><?php do_action( 'job_manager_job_overlay_footer', $job ); ?></div> |
| 61 | </div> |
| 62 |