| | |
| | | 'section' => 'newsletter', |
| | | ], |
| | | 'owner_of' => [ |
| | | 'type' => 'taxonomy', |
| | | 'type' => 'selector', |
| | | 'subtype'=> 'taxonomy', |
| | | 'label' => __('Owner of', 'jvb'), |
| | | 'taxonomy_type' => 'reference', |
| | | 'isReference' => true, |
| | | 'taxonomy' => BASE. 'shop', |
| | | 'quickEdit' => true, |
| | | 'default' => '', |
| | | ], |
| | | 'manager_of' => [ |
| | | 'type' => 'taxonomy', |
| | | 'type' => 'selector', |
| | | 'subtype' => 'taxonomy', |
| | | 'label' => __('Manager of', 'jvb'), |
| | | 'taxonomy_type' => 'reference', |
| | | 'isReference' => true, |
| | | 'taxonomy' => BASE. 'shop', |
| | | 'hidden' => true, |
| | | 'default' => '', |
| | |
| | | <div class="notification-preferences"> |
| | | <?php foreach ($favourites as $type => $items) : ?> |
| | | <details class="notification-group"> |
| | | <summary class="notification-group-header row btw"> |
| | | <summary class="notification-group-header row x-btw"> |
| | | <span class="type-label"><?=jvbIcon('heart', ['style' => 'fill'])?> <?= $notify[$type] ?></span> |
| | | <span class="type-count">( <?= count($items); ?> )</span> |
| | | </summary> |
| | |
| | | break; |
| | | case 'term': |
| | | $term = get_term($result->target_id, BASE.$type); |
| | | $name = $term ? $term->name : ''; |
| | | $name = $term ? html_entity_decode($term->name) : ''; |
| | | break; |
| | | default: |
| | | $name = ''; |
| | |
| | | |
| | | <section class="invite-artists"> |
| | | <div class="invited-artist"> |
| | | <button type="button" onclick="removeArtist(this)" title="Remove Invite"><?=jvbIcon('delete')?></button> |
| | | <button type="button" onclick="removeArtist(this)" title="Remove Invite"><?=jvbIcon('trash')?></button> |
| | | <div> |
| | | <label for="invited-artist-name-1">First Name</label> |
| | | <input type="text" id="invited-artist-name-1" name="invited-artist-name-1"> |
| | |
| | | </div> |
| | | </section> |
| | | <div class="actions"> |
| | | <button type="button" onclick="addArtist(this)" class="add-artist"><?= jvbIcon('add')?>Add Artist</button> |
| | | <button type="button" onclick="sendInvites(this)" class="send-invites"><?=jvbIcon('email')?>Send Invites</button> |
| | | <button type="button" onclick="addArtist(this)" class="add-artist"><?= jvbIcon('plus-square')?>Add Artist</button> |
| | | <button type="button" onclick="sendInvites(this)" class="send-invites"><?=jvbIcon('envelope')?>Send Invites</button> |
| | | </div> |
| | | |
| | | <template class="artistInvite"> |
| | | <div class="invited-artist"> |
| | | <button type="button" onclick="removeArtist(this)" title="Remove Invite"><?=jvbIcon('delete')?></button> |
| | | <button type="button" onclick="removeArtist(this)" title="Remove Invite"><?=jvbIcon('trash')?></button> |
| | | <div> |
| | | <label for="invited-artist-name">First Name</label> |
| | | <input type="text" id="invited-artist-name" name="invited-artist-name"> |
| | |
| | | </td> |
| | | <td class="actions"> |
| | | <button type="button" data-action="revoke" title="Revoke Invitation" onclick="revokeInvite(this)"> |
| | | <?=jvbIcon('delete')?> |
| | | <?=jvbIcon('trash')?> |
| | | <span class="screen-reader-text">Revoke invite</span> |
| | | </button> |
| | | <button type="button" data-action="resend"<?=($invite['status'] === 'exipired') ? '' : ' disabled'?> title="Resend Invitation" onclick="resendInvite(this)"> |
| | | <?=jvbIcon('refresh')?> |
| | | <?=jvbIcon('arrows-clockwise')?> |
| | | <span class="screen-reader-text">Try Again</span> |
| | | </button> |
| | | </td> |