equal
deleted
inserted
replaced
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 """ |
6 """ |
7 __docformat__ = "restructuredtext en" |
7 __docformat__ = "restructuredtext en" |
8 |
8 |
9 from cubicweb.common.view import EntityView |
9 from cubicweb.common.view import EntityView |
|
10 |
|
11 _ = unicode |
10 |
12 |
11 VCARD_PHONE_TYPES = {'home': 'HOME', 'office': 'WORK', 'mobile': 'CELL', 'fax': 'FAX'} |
13 VCARD_PHONE_TYPES = {'home': 'HOME', 'office': 'WORK', 'mobile': 'CELL', 'fax': 'FAX'} |
12 |
14 |
13 class VCardEUserView(EntityView): |
15 class VCardEUserView(EntityView): |
14 """export a person information as a vcard""" |
16 """export a person information as a vcard""" |