-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: report opt-in view change & condition applied
- Loading branch information
1 parent
1f1c3fd
commit 60668ed
Showing
1 changed file
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
<div class="updated" style="border: 1px solid #c3c4c7; padding: 15px"> | ||
<h1 style="padding: 0;">We hope you love <?php echo esc_attr($args['title']); ?>.</h1> | ||
|
||
<p style="margin-bottom: 10px;"> | ||
<p style="margin-bottom: 15px;"> | ||
<?php echo esc_attr($args['description']); ?> | ||
</p> | ||
|
||
<div style="margin-bottom: 15px;"> | ||
<?php if ($args['termsUrl'] !== '') { ?> | ||
<a href="<?php echo esc_attr($args['termsUrl']); ?>" style="text-decoration: none;">Terms of service</a> | ||
<?php } ?> | ||
<div style="display: flex; justify-content: space-between;"> | ||
<div> | ||
<a href="<?php echo esc_attr(esc_url($args['optInUrl'])); ?>" class="button-primary button-large">Allow & Continue</a> | ||
<a href="<?php echo esc_attr(esc_url($args['optOutUrl'])); ?>" class="button-secondary button-large" style="border-color: transparent">Skip</a> | ||
</div> | ||
<div> | ||
<?php if ($args['termsUrl'] !== '') { ?> | ||
<a href="<?php echo esc_attr($args['termsUrl']); ?>">Terms of service</a> | ||
<?php } ?> | ||
|
||
<?php if ($args['policyUrl'] !== '') { ?> | ||
<a href="<?php echo esc_attr($args['policyUrl']); ?>" style="text-decoration: none;">Privacy Policy</a> | ||
<?php } ?> | ||
</div> | ||
|
||
<div> | ||
<a href="<?php echo esc_attr(esc_url($args['optInUrl'])); ?>" class="button-primary button-large">Allow & Continue</a> | ||
<a href="<?php echo esc_attr(esc_url($args['optOutUrl'])); ?>" class="button-secondary button-large" style="border-color: transparent">Skip</a> | ||
<?php if ($args['policyUrl'] !== '') { ?> | ||
<a href="<?php echo esc_attr($args['policyUrl']); ?>">Privacy Policy</a> | ||
<?php } ?> | ||
</div> | ||
</div> | ||
</div> |