Annotation of basket/zpt/BasketExternalLink_template_standard.zpt, revision 1.5

1.4       casties     1: <tal:block tal:condition="here/link">
                      2:    <tal:block tal:condition="python: here.link[0:7] == 'http://'" 
                      3:        tal:define="global type python:'Internal '">
                      4:        <tal:block tal:define="global type python:'External '" />
                      5:    </tal:block>
                      6:    <a tal:condition="here/linkText" 
                      7:        tal:content="structure python: 
1.5     ! casties     8:            type + 'Link: <a href=' + here.link + '>' + here.getLinkText() + '</a>'"/>
1.4       casties     9:    <a tal:condition="not: here/linkText" 
                     10:        tal:content="structure python: 
                     11:            type + 'Link: <a href=' + here.link + '>' + here.link + '</a>'"/>
                     12: </tal:block>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>