Skip to content

Commit

Permalink
Merge branch 'dev-hiresuit' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
nithinjohn22 committed Dec 26, 2024
2 parents 610e4f7 + 6401f49 commit 5eb6a23
Show file tree
Hide file tree
Showing 11 changed files with 2,825 additions and 12 deletions.
889 changes: 888 additions & 1 deletion blocks/build/index.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions blocks/build/index.css.map

Large diffs are not rendered by default.

1,149 changes: 1,148 additions & 1 deletion blocks/build/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions blocks/build/index.js.map

Large diffs are not rendered by default.

776 changes: 775 additions & 1 deletion blocks/build/style-index.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions blocks/build/style-index.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion blocks/build/view.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'a75d07c7a107b68260a6');
<?php return array('dependencies' => array(), 'version' => 'b8f8e1b9a3512e1d8461');
7 changes: 4 additions & 3 deletions blocks/build/view.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion blocks/build/view.js.map

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions blocks/src/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,20 +207,21 @@ jQuery(function($) {
}
};

if ($('.awsm-job-no-more-jobs-get').length > 0) {
if ($('.awsm-b-job-no-more-jobs-get').length > 0) {
$('.awsm-b-job-listings').hide();
$('.awsm-job-no-more-jobs-get').slice(1).hide();
$('.awsm-b-job-no-more-jobs-get').slice(1).hide();
}

$(filterSelector + ' .awsm-b-filter-option').on('change', function(e) {
e.preventDefault();
$('.awsm-b-job-listings').show();
var $elem = $(this);
var $selected = $elem.find('option:selected');
var $rootWrapper = $elem.parents(rootWrapperSelector);
var currentSpec = $elem.parents('.awsm-b-filter-item').data('filter');
var slug = $selected.data('slug');
if ($('.awsm-b-job-listings').length > 0) {
$rootWrapper.find('.awsm-job-no-more-jobs-get').hide();
$rootWrapper.find('.awsm-b-job-no-more-jobs-get').hide();
}
slug = typeof slug !== 'undefined' ? slug : '';
setPaginationBase($rootWrapper, currentSpec, slug);
Expand Down
2 changes: 1 addition & 1 deletion inc/templates/block-files/block-job-openings-view.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<?php
get_block_filtered_job_terms( $attributes);
$no_jobs_content = sprintf(
'<div class="awsm-jobs-pagination awsm-load-more-main awsm-no-more-jobs-container awsm-job-no-more-jobs-get"><p>%s</p></div>',
'<div class="awsm-jobs-pagination awsm-load-more-main awsm-no-more-jobs-container awsm-b-job-no-more-jobs-get"><p>%s</p></div>',
esc_html__( 'Sorry! No jobs to show.', 'wp-job-openings' )
);
echo $no_jobs_content;
Expand Down

0 comments on commit 5eb6a23

Please sign in to comment.