Adds two helper methods for generating HTML links based on a condition.