Skip to content

Commit

Permalink
review tags
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Sep 26, 2024
1 parent 407fc54 commit a8b8e3f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 6 additions & 4 deletions classes/attach-popup/select-component.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ class="ppom-attach-container-item ppom-fields-status-<?php echo esc_attr( $statu
<div class="postbox <?php echo $is_used ? '' : 'closed' ?>">

<div class="postbox-header ">
<h6 > <span class="dashicons dashicon-ppom-status"></span><?php echo esc_html( $this->get_title() ) ?></h6>
<h6>
<span class="dashicons dashicon-ppom-status"></span><?php echo esc_html( $this->get_title() ) ?> <?php if ( 'valid' !== $this->get_status() ) { ?>
<span class="dashicons dashicons-lock"></span><?php } ?></h6>
</div>
<div class="inside">
<div class="ppom-attach-container-input">
Expand Down Expand Up @@ -96,9 +98,9 @@ class="ppom-attach"
<?php echo wp_kses_post( $this->get_description() ) ?>
</span>
<?php if ( 'valid' !== $this->get_status() ) { ?>
<span class="ppom-field-filter-pro-available">
<?php echo sprintf( esc_html__( 'Available in %sPRO%s', 'woocommerce-product-addon' ), '<a target="_blank" href="' . tsdk_utmify( tsdk_translate_link( PPOM_UPGRADE_URL ), 'tags-fields' ) . '">', '</a>' ); ?>
</span>

<?php echo '<a class="ppom-field-filter-pro-available" target="_blank" href="' . tsdk_utmify( tsdk_translate_link( PPOM_UPGRADE_URL ), 'tags-fields' ) . '">' . esc_html__( 'Available in PRO', 'woocommerce-product-addon' ) . '</a>'; ?>

<?php } ?>
<input
name="<?php echo esc_attr( str_replace( '[]', '', $select_name ) ) . '-initial' ?>"
Expand Down
6 changes: 6 additions & 0 deletions css/ppom-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -1788,6 +1788,11 @@ header.ppom-modal-header {
.ppom-attach-container-item .closed .dashicon-ppom-status:before{
content: "\f343";
}
.ppom-attach-container-item .dashicons.dashicons-lock{

position: absolute;
font-size: 110%;
}
.ppom-attach-container-item .dashicons{
font-size: 75%;
vertical-align: unset;
Expand Down Expand Up @@ -1815,6 +1820,7 @@ header.ppom-modal-header {
display: block;
position: absolute;
right: 20px;

}
.ppom-hide-element {
display: none !important;
Expand Down

0 comments on commit a8b8e3f

Please sign in to comment.