<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def link_text(cls):
 """ Return link text for this view. """

        link = cls.__name__
        if link.endswith('View'):
            link = link[:-4]
        return link