I'd like to have, instead of the string

"5 units available....."

a stock level indicator like a JPG or to write just if the product is available or not

How can I do it?

I tried to do this in tpl_product_info_display.php

<?php //*echo (($flag_show_product_info_quantity == 1) ? '' .
if {$products_quantity>1} {echo 'Available';} ?>
but it gives me an error

What should i do?