equal
deleted
inserted
replaced
21 __docformat__ = "restructuredtext en" |
21 __docformat__ = "restructuredtext en" |
22 |
22 |
23 from cubicweb.predicates import is_instance |
23 from cubicweb.predicates import is_instance |
24 from cubicweb.view import EntityView |
24 from cubicweb.view import EntityView |
25 |
25 |
26 _ = unicode |
26 from cubicweb import _ |
27 |
27 |
28 VCARD_PHONE_TYPES = {'home': 'HOME', 'office': 'WORK', 'mobile': 'CELL', 'fax': 'FAX'} |
28 VCARD_PHONE_TYPES = {'home': 'HOME', 'office': 'WORK', 'mobile': 'CELL', 'fax': 'FAX'} |
29 |
29 |
30 class VCardCWUserView(EntityView): |
30 class VCardCWUserView(EntityView): |
31 """export a person information as a vcard""" |
31 """export a person information as a vcard""" |