mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-06 10:45:44 +03:00
Enable "add contributors" functionality
This commit is contained in:
parent
b0672a6f6e
commit
5a72ff8b53
4 changed files with 63 additions and 6 deletions
|
@ -24,7 +24,6 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
|
|||
<button
|
||||
class="button-link button-link-delete"
|
||||
data-action="remove-contributor"
|
||||
data-pledge-post="{{ data.pledgeId }}"
|
||||
data-contributor-post="{{ data.contributorId }}"
|
||||
data-confirm="{{ data.removeConfirm }}"
|
||||
aria-label="{{ data.removeLabel }}"
|
||||
|
@ -39,7 +38,6 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
|
|||
<button
|
||||
class="button"
|
||||
data-action="resend-contributor-confirmation"
|
||||
data-pledge-post="{{ data.pledgeId }}"
|
||||
data-contributor-post="{{ data.contributorId }}"
|
||||
>
|
||||
{{ data.resendLabel }}
|
||||
|
@ -74,8 +72,7 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
|
|||
<button
|
||||
class="button-primary"
|
||||
data-action="add-contributor"
|
||||
data-pledge-post="<?php the_ID(); ?>"
|
||||
>
|
||||
<?php esc_html_e( 'Add new contributor', 'wporg' ); ?>
|
||||
<?php esc_html_e( 'Add new contributors', 'wporg' ); ?>
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue