<?php
/**
 * @var $btn_class
 * @var $pid
 */
?>

<a class="ui fluid secondary button <?php echo $btn_class; ?> mb5" data-id="<?php echo $pid; ?>" data-title="<?php the_title(); ?>">

    <?php echo get_post_meta( $pid, 'active', true ) != '0' ? __( 'Deactivate', 'wpjobster' ) : __( 'Activate', 'wpjobster' ); ?>

</a>