Files
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

30 lines
843 B
PHP

<?php
/**
* Underscore.js template
*
* @package fusion-builder
* @since 2.0
*/
?>
<script type="text/html" id="tmpl-fusion_alert-shortcode">
<div {{{ _.fusionGetAttributes( attr ) }}}>
{{{ contentStyles }}}
<div class="fusion-alert-content-wrapper">
<#
if ( 'yes' === values.dismissable ) {
#>
<button type="button" class="close toggle-alert" data-dismiss="alert" aria-hidden="true" style="{{ buttonStyles }}">&times;</button>
<# } #>
<# if ( 'undefined' !== typeof values.icon && 'none' !== values.icon ) { #>
<span class="alert-icon">
<i class="fa fa-lg {{ _.fusionFontAwesome( values.icon ) }}" aria-hidden="true"></i>
</span>
<# } #>
<span {{{ _.fusionGetAttributes( contentAttr ) }}}>
{{{ FusionPageBuilderApp.renderContent( values.element_content, cid, false ) }}}
</span>
</div>
</div>
</script>