SAK-25514 removed if statement as the it produced the same HTML

git-svn-id: https://source.sakaiproject.org/svn/portal/branches/SAK-25514@133888 66ffb92e-73f9-0310-93c1-f5514f145a0a
SAK-25514 comment and formatting clean up

git-svn-id: https://source.sakaiproject.org/svn/portal/branches/SAK-25514@133889 66ffb92e-73f9-0310-93c1-f5514f145a0a