web/views/vcard.py
changeset 10 36d1e8d715af
parent 0 b97547f5f1fa
child 688 cddfbdee0eb3
equal deleted inserted replaced
9:1901fcf55ed4 10:36d1e8d715af
     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"""