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

<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.linkText + '</a>'"/>
	<a tal:condition="not: here/linkText" 
		tal:content="structure python: 
			type + 'Link: <a href=' + here.link + '>' + here.link + '</a>'"/>
</tal:block>

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