Commit ae9ea0fc authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

incontext view of EmailAddress is a mailto: link

parent 887c92793407
......@@ -108,6 +108,13 @@ class EmailAddressMailToView(baseviews.OneLineView):
self.w(u'</b>')
class EmailAddressInContextView(baseviews.InContextView):
__select__ = implements('EmailAddress')
def cell_call(self, row, col, **kwargs):
self.wview('mailto', self.cw_rset, row=row, col=col, **kwargs)
class EmailAddressTextView(baseviews.TextView):
__select__ = implements('EmailAddress')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment