Files
roi-theme/wp-content/plugins/thrive-ultimatum/admin/views/template/design/item.phtml
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

46 lines
1.7 KiB
PHTML
Executable File

<div class="tvd-card tvd-white tvd-medium-xxsmall">
<# if ( item.get('tpl')=='' ){ #>
<div class="tvu-card-text">
<span class="tvu-required-design"><#=item.thumb()#></span>
</div>
<# }else{ #>
<div class="tvd-card-image tvu-<#=item.get('post_type')#>-image" style="background-image: url('<#=item.thumb()#>');background-size:cover;height: 100%;">
<img src="<#=item.thumb()#>" alt="">
</div>
<# } #>
<div class="tvd-badge tvu-<#=item.get('post_type')#>"><#=item.get('type_nice_name')#></div>
<div class="tvd-card-action">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<h4>
<#= item.get('post_title') #>
</h4>
</div>
<div class="tvd-col tvd-s12 tvd-m6">
<div class="tvu-campaign-actions <#= item.get('tpl')? '':'tvu-design-card-without-template' #> tvd-right">
<# if ( item.get('tpl')=='' ) { #>
<div class="tvd-tooltip-visible tvd-fixed-bottom tvu-adjust-under-edit"><span><?php echo __( 'Choose a template for this design', 'thrive-ult' ) ?></span></div>
<# } #>
<# if( item.get( 'post_type' ) === 'shortcode' ) { #>
<a class="tvu-get-shortcode tvu-icon-gray tvu-btn-icon-small">
<i class="tvu-icon-code"></i>
</a>
<# } #>
<# if( item.get( 'post_type' ) === 'header-bar' ) { #>
<a class="tvu-top-ribbon-settings tvu-icon-gray tvu-btn-icon-small">
<i class="tvd-icon-settings"></i>
</a>
<# } #>
<a class="tvu-edit-design tvu-icon-gray tvu-btn-icon-small"
href="<#= item.get('tcb_edit_url') #>" target="_blank">
<i class="tvd-icon-pencil"></i>
</a>
<a class="tvu-delete-design tvu-icon-gray tvu-btn-icon-small">
<i class="tvd-icon-trash-o"></i>
</a>
</div>
</div>
</div>
</div>
</div>