

@property
def wrapped_contact_name(self):
    if self.get_contact_email:
        name = (self.contact_name or 'Email')
        link = ('<a href="mailto:%s">%s</a>' % (self.get_contact_email, name))
        return mark_safe(link)
    else:
        name = (self.contact_name or '')
        return name

dataset/ETHPy150Open mozilla/source/source/jobs/models.py Job.wrapped_contact_name/original