Exemplo n.º 1
0
 def _person_email_link(cls, name, email, fallback):
     if email:
         return h.mail_to(email_address=email,
                          name=name or email,
                          encode='hex')
     else:
         return name or fallback
Exemplo n.º 2
0
 def _person_email_link(cls, name, email, reference):
     if email:
         return h.mail_to(email_address=email,
                          name=name or email,
                          encode='hex')
     else:
         return name or reference + " not given"
Exemplo n.º 3
0
 def _person_email_link(cls, name, email, reference):
     assert email
     return h.mail_to(email_address=email, name=name or email, encode='hex')
Exemplo n.º 4
0
 def _person_email_link(cls, name, email, fallback):
     if email:
         return h.mail_to(email_address=email, name=name or email,
                 encode='hex')
     else:
         return name or fallback
Exemplo n.º 5
0
 def _person_email_link(cls, name, email, reference):
     if email:
         return h.mail_to(email_address=email, name=name or email, encode='hex')
     else:
         return name or reference + " not given"
Exemplo n.º 6
0
 def _person_email_link(cls, name, email, reference):
     assert email
     return h.mail_to(email_address=email, name=name or email, encode='hex')