Return to BasketExternalLink_template_standard.zpt CVS log | Up to [Repository] / basket / zpt |
simplified some methods and added getters for unicode in basket.py changed templates to use unicode getters
<tal:block tal:condition="here/link"> <tal:block tal:condition="python: here.link[0:7] == 'http://'" tal:define="global type python:'Internal '"> <tal:block tal:define="global type python:'External '" /> </tal:block> <a tal:condition="here/linkText" tal:content="structure python: type + 'Link: <a href=' + here.link + '>' + here.getLinkText() + '</a>'"/> <a tal:condition="not: here/linkText" tal:content="structure python: type + 'Link: <a href=' + here.link + '>' + here.link + '</a>'"/> </tal:block>