liquid markup to apply conditions based on tags contained in ticket