Update template.

This commit is contained in:
Hoang Huu 2019-09-24 09:21:21 +07:00
parent d4f3c23691
commit 39a2725cff

View File

@ -1,6 +1,6 @@
<?php if( !opalesate_check_has_add_listing( $user_id ) ): ?>
<div class="alert alert-warning">
<p><?php esc_html_e( 'Your package has 0 left listing, you could not add any more. Please upgrade now', 'opalestate-pro' );?></p>
<p><a href="<?php echo opalmembership_get_membership_page_uri();?>" class="btn btn-primary"><?php esc_html_e( 'Click to this link to see plans', 'opalestate-pro' );?></a></p>
</div>
<?php if ( ! opalesate_check_has_add_listing( $user_id ) ): ?>
<div class="alert alert-warning">
<p><?php esc_html_e( 'Your package has 0 left listing, you could not add any more. Please upgrade now', 'opalestate-pro' ); ?></p>
<p><a href="<?php echo opalmembership_get_membership_page_uri(); ?>" class="btn btn-primary"><?php esc_html_e( 'Click to this link to see plans', 'opalestate-pro' ); ?></a></p>
</div>
<?php endif; ?>