my employer want to have all external links marked with a small icon telling
anonymous users from the internet that everything behind given links is
beyond our responsibility.
Currenty I have to do something like that:
<a tal:define="linkwriter nocall:context/@@linkwriter"
... which doesn't really looks like a nice method to produce i.e. this:
<a class="external" title="You're leaving out institute's domain. We're not
href="http://example.com">This is an example company</a>
The 'linkwriter' chooses the a-tag's class and title according to the domain of
I would like to make writing those pagetemplates a bit easier - maybe like that:
<a tal:attributes="href context/url" tal:content="context/urldescription"
How complicated is it to write an additional pagetemplate namespace which is
"postprocess" a tag, after 'tal', 'i18n' and 'metal' did their work?
Zope3-users mailing list