equal
deleted
inserted
replaced
17 """export a person information as a vcard""" |
17 """export a person information as a vcard""" |
18 id = 'vcard' |
18 id = 'vcard' |
19 title = _('vcard') |
19 title = _('vcard') |
20 templatable = False |
20 templatable = False |
21 content_type = 'text/x-vcard' |
21 content_type = 'text/x-vcard' |
22 __selectors__ = implements('EUser') |
22 __select__ = implements('EUser') |
23 |
23 |
24 def set_request_content_type(self): |
24 def set_request_content_type(self): |
25 """overriden to set a .vcf filename""" |
25 """overriden to set a .vcf filename""" |
26 self.req.set_content_type(self.content_type, filename='vcard.vcf') |
26 self.req.set_content_type(self.content_type, filename='vcard.vcf') |
27 |
27 |