Skip to content

Commit

Permalink
Merge pull request #57 from MechComp/master
Browse files Browse the repository at this point in the history
Front-end licence removal doesn't reflect setting allow_user_activation_removal
  • Loading branch information
michelve committed Jan 4, 2022
2 parents 7e1ab30 + 30f03f3 commit 38ecad6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions woocommerce/includes/wc_licenses_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public function endpoint_content()
?>
</td>
<td class="slm-view" data-title="<?php echo esc_html__('view', 'softwarelicensemanager'); ?>">
<a href="" class="woocommerce-button button view">
<a href="#" class="woocommerce-button button view">
<?php echo esc_html__('view', 'softwarelicensemanager'); ?>
</a>
</td>
Expand Down Expand Up @@ -237,11 +237,11 @@ public function endpoint_content()
<br>
<div class="row" style="width: 100%;">
<div class="slm-activated-on domains-list col-md-6">
<?php SLM_Utility::get_license_activation($license_info->license_key, SLM_TBL_LIC_DOMAIN, esc_html__('Domains', 'softwarelicensemanager'), $allow_domain_removal); ?>
<?php SLM_Utility::get_license_activation($license_info->license_key, SLM_TBL_LIC_DOMAIN, 'Domains', 'Domains', $allow_domain_removal); ?>
</div>

<div class="slm-activated-on domains-list col-md-6">
<?php SLM_Utility::get_license_activation($license_info->license_key, SLM_TBL_LIC_DEVICES, esc_html__('Devices', 'softwarelicensemanager'), $allow_domain_removal); ?>
<?php SLM_Utility::get_license_activation($license_info->license_key, SLM_TBL_LIC_DEVICES, 'Devices', 'Devices', $allow_domain_removal); ?>
</div>
</div>
<div class="clear"></div>
Expand Down

0 comments on commit 38ecad6

Please sign in to comment.