| 1 |
<?php |
| 2 |
/** |
| 3 |
* Admin Thumbnail js template |
| 4 |
* |
| 5 |
* This template can be overridden by copying it to |
| 6 |
* yourtheme/woo-product-variation-gallery-pro/template-admin-thumbnail.php |
| 7 |
*/ |
| 8 |
|
| 9 |
defined( 'ABSPATH' ) || exit; |
| 10 |
?> |
| 11 |
<script type="text/html" id="tmpl-rtsb-vg-image"> |
| 12 |
<# hasVideo = ( typeof data.rtsb_vg_video_link !== 'undefined' && data.rtsb_vg_video_link != '' ) ? 'video' : ''; #> |
| 13 |
<li class="image {{hasVideo}}"> |
| 14 |
<input type="hidden" name="rtsb_vg[{{data.product_variation_id}}][]" value="{{data.id}}"> |
| 15 |
<img src="{{data.url}}"> |
| 16 |
<div class="rtsb-vg-action-button"> |
| 17 |
<span data-tip="Add Video" class="rtsb-vg-media-video-popup dashicons dashicons-video-alt3"></span> |
| 18 |
<span data-tip="Edit Image" class="rtsb-vg-gallery-edit dashicons dashicons-edit"></span> |
| 19 |
<a href="#" class="delete rtsb-vg-remove-image"><span class="dashicons dashicons-no"></span></a> |
| 20 |
</div> |
| 21 |
</li> |
| 22 |
</script> |