<div style="color:{{TIPO|switch:[1:Red,else:Green]}};" ></div>
<div class="{{TIPO|switch:[1:txt-danger,else:txt-success]}}"></div>
jose luis