← All changes
|
views/addons/role-based-pricing/role-based-block.php
+2
-14
6.4.0
→
8.1.0
View file →
| @@ -29,9 +29,9 @@ | ||
| 29 | 29 | data-add-action="<?php echo esc_attr( ProductManager::GET_ROLE_ROW_HTML__ACTION ); ?>" |
| 30 | 30 | data-add-action-nonce="<?php echo esc_attr( wp_create_nonce( ProductManager::GET_ROLE_ROW_HTML__ACTION ) ); ?>" |
| 31 | 31 | data-product-id="<?php echo esc_attr( $product_id ); ?>" |
| 32 | 32 | data-loop="<?php echo esc_attr( $loop ); ?>"> |
| 33 | - <label class="tpt-role-based-block__name"><?php esc_attr_e( 'Role-based pricing', 'tier-pricing-table' ); ?></label> | |
| 33 | + <label class="tpt-role-based-block__name" style="line-height: normal"><?php esc_attr_e( 'Role-based pricing', 'tier-pricing-table' ); ?></label> | |
| 34 | 34 | <div class="tpt-role-based-block__content"> |
| 35 | 35 | <div class="tpt-role-based-roles"> |
| 36 | 36 | <?php |
| 37 | 37 | |
| @@ -94,23 +94,11 @@ | ||
| 94 | 94 | </select> |
| 95 | 95 | |
| 96 | 96 | <button class="button tpt-role-based-adding-form__add-button"> |
| 97 | 97 | <?php |
| 98 | - esc_attr_e( 'Add Role', 'tier-pricing-table' ); | |
| 98 | + esc_attr_e( 'Add role pricing', 'tier-pricing-table' ); | |
| 99 | 99 | ?> |
| 100 | 100 | </button> |
| 101 | - <?php | |
| 102 | - $roleManagementLink = add_query_arg( [ | |
| 103 | - 'section' => 'tools', | |
| 104 | - ], ServiceContainer::getInstance()->getSettings()->getLink() ); | |
| 105 | - | |
| 106 | - $roleManagementLink .= '#roles'; | |
| 107 | - ?> | |
| 108 | - <a style="margin-left: auto" target="_blank" | |
| 109 | - href="<?php echo esc_url( $roleManagementLink ); ?>"> | |
| 110 | - <?php esc_html_e( 'Manage Roles', 'tier-pricing-table' ); ?> | |
| 111 | - </a> | |
| 112 | - | |
| 113 | 101 | <div class="clear"></div> |
| 114 | 102 | </div> |
| 115 | 103 | |
| 116 | 104 | <?php $rolesToDeleteName = ! is_null( $loop ) ? "tiered_price_rules_roles_to_delete_variation[$loop][]" : 'tiered_price_rules_roles_to_delete[]'; ?> |