Skip to content

Commit 60668ed

Browse files
committed
chore: report opt-in view change & condition applied
1 parent 1f1c3fd commit 60668ed

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

src/views/reportOptIn.php

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
<div class="updated" style="border: 1px solid #c3c4c7; padding: 15px">
22
<h1 style="padding: 0;">We hope you love <?php echo esc_attr($args['title']); ?>.</h1>
33

4-
<p style="margin-bottom: 10px;">
4+
<p style="margin-bottom: 15px;">
55
<?php echo esc_attr($args['description']); ?>
66
</p>
77

8-
<div style="margin-bottom: 15px;">
9-
<?php if ($args['termsUrl'] !== '') { ?>
10-
<a href="<?php echo esc_attr($args['termsUrl']); ?>" style="text-decoration: none;">Terms of service</a> &nbsp; &nbsp;
11-
<?php } ?>
8+
<div style="display: flex; justify-content: space-between;">
9+
<div>
10+
<a href="<?php echo esc_attr(esc_url($args['optInUrl'])); ?>" class="button-primary button-large">Allow & Continue</a> &nbsp;
11+
<a href="<?php echo esc_attr(esc_url($args['optOutUrl'])); ?>" class="button-secondary button-large" style="border-color: transparent">Skip</a>
12+
</div>
13+
<div>
14+
<?php if ($args['termsUrl'] !== '') { ?>
15+
<a href="<?php echo esc_attr($args['termsUrl']); ?>">Terms of service</a> &nbsp; &nbsp;
16+
<?php } ?>
1217

13-
<?php if ($args['policyUrl'] !== '') { ?>
14-
<a href="<?php echo esc_attr($args['policyUrl']); ?>" style="text-decoration: none;">Privacy Policy</a>
15-
<?php } ?>
16-
</div>
17-
18-
<div>
19-
<a href="<?php echo esc_attr(esc_url($args['optInUrl'])); ?>" class="button-primary button-large">Allow & Continue</a> &nbsp;
20-
<a href="<?php echo esc_attr(esc_url($args['optOutUrl'])); ?>" class="button-secondary button-large" style="border-color: transparent">Skip</a>
18+
<?php if ($args['policyUrl'] !== '') { ?>
19+
<a href="<?php echo esc_attr($args['policyUrl']); ?>">Privacy Policy</a>
20+
<?php } ?>
21+
</div>
2122
</div>
2223
</div>

0 commit comments

Comments
 (0)