Only show view all link if necessary.