author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 26 Jan 2010 13:26:41 +0100 | |
changeset 4362 | 817851a77e27 |
parent 4361 | 887c92793407 |
child 4363 | 5c18d82042fb |
--- a/web/views/emailaddress.py Tue Jan 26 10:35:46 2010 +0100 +++ b/web/views/emailaddress.py Tue Jan 26 13:26:41 2010 +0100 @@ -108,6 +108,13 @@ 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')