I was thinking of the tales formatter [1]:
<tal:jabber tal:condition="not:view/user" tal:content="content context/jabber/fmt:obfuscate-email"> <tal:jabber tal:condition="view/user" tal:content="content context/jabber">
[1] If the tales formatter used getUtility(ILaunchBag).user, we would not need to write near identical code. I was young and naive when I wrote the formatter.
I was thinking of the tales formatter [1]:
<tal:jabber condition= "not:view/ user" content= "content context/ jabber/ fmt:obfuscate- email"> condition= "view/user" content= "content context/jabber">
tal:
tal:
<tal:jabber
tal:
tal:
[1] If the tales formatter used getUtility( ILaunchBag) .user, we would
not need to write near identical code. I was young and naive when I
wrote the formatter.