File:  [Repository] / basket / zpt / BasketExternalLink_template_standard.zpt
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Tue Aug 14 18:28:17 2007 UTC (16 years, 10 months ago) by casties
Branches: MAIN
CVS tags: HEAD
added some old chenges in templates and a fixed typo

    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: 
    8: 			type + 'Link: <a href=' + here.link + '>' + here.linkText + '</a>'"/>
    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>