I have a Django/MySQl/bootsrap website where my view displays some boolean column values. Is there a way to display check mark and cross mark instead of showing TRUE or False? It can either be a .svg file or HTML code for check mark and cross. Any brilliant mind around has done the same?
Here is my code:
<tr class="table_content">
<td>{{ sku.sku }}</td>
<td>{{ sku.gsa }}</td>
<td>{{ sku.service_category }}</td>
<td>{{ sku.product_category }}</td>
<td>{{ sku.product_description }}</td>
<td>{{ sku.unit }}</td>
<td>${{ sku.msrp }}</td>
<td>${{ sku.channel_price }}</td>
<td>{{ sku.volume_pricing }}</td>
<td>{{ sku.comments_sku_description }}</td>
<td>{{ sku.new_sku }}</td>
<td>{{ sku.price_requested }}</td>
<td>{{ sku.to_be_retired }}</td>
</tr>
The last 3 return boolean values. I am trying to display either a .svg file of checkmark and cross or simply html code for checkmark and cross.