<# if( data === undefined ) data = {}; var atts = ( data.atts !== undefined ) ? data.atts : {}, _before_number = '', _after_number = '', icon = '', label = '', el_classess = []; el_classess = kc.front.el_class( atts );; el_classess.push( 'kc_counter_box' ); if ( atts['wrap_class'] !== undefined ) el_classess.push( atts['wrap_class'] ); label = ( atts['label'] !== undefined ) ? '

'+ atts['label'] +'

' : ''; if( atts['icon_show'] !== undefined && atts['icon_show'] == 'yes' ) { icon = ( atts['icon'] !== undefined ) ? atts['icon'] : 'fa-leaf'; icon = ( icon !== '' ) ? '' : ''; } else { icon = ''; } if( atts['label_above'] !== undefined && 'yes' === atts['label_above'] ){ _before_number = icon + label; } else { _before_number = icon; _after_number = label; } #>
{{{_before_number}}} {{{atts['number']}}} {{{_after_number}}}
<# data.callback = function( wrp, $ ){ kc_front.counterup(); } #>