Change template for conditional list item.