This function returns an et.Element that
links to the room page, using the room's full name as
its link text.
# - - - l i n k T o R o o m P a g e
def linkToRoomPage ( room ):
'''Generate a hyperlink to the page for a given room.
[ room is a Room instance ->
return an 'a' et.Element that links to the room page
for room, using room.roomFull as the link text
'''
See Section 15, “roomPageURL(): Generate the URL for a
room page”.
#-- 1 --
return E.a ( room.roomFull, href=roomPageURL ( room ) )