Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
817851a77e27
Commit
ae9ea0fc
authored
Jan 26, 2010
by
Sylvain Thénault
Browse files
incontext view of EmailAddress is a mailto: link
parent
887c92793407
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/views/emailaddress.py
View file @
817851a7
...
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment