LILY-239: fix case detail template