'Represent a (key, value) as hypertext link
@param k: the key (hrm_human_resource.id)
@param v: the representation of the key
@param row: the row with this key (unused here)'

def link(self, k, v, row=None):

    types = self.types
    if (types.get(k) == 1):
        url = URL(c='hrm', f='staff', args=[k])
    else:
        url = URL(c='vol', f='volunteer', args=[k])
    return A(v, _href=url)
